Extends RibbonTab to add visibility handling and maintain the user's visibility selection explicitly.
Public Member Functions |
|
MaxRibbonTab () | |
virtual void | CopyFrom (MaxRibbonTab source) |
Static Public Attributes |
|
static readonly String | UserVisibilitySettingPropertyName = "UserVisibilitySetting" |
static readonly String | IsAvailablePropertyName = "IsAvailable" |
Properties |
|
bool |
UserVisibilitySetting [get, set] |
bool |
IsAvailable [get, set] |
This logically maps to the concept of
availability in Max. |
WPFCustomControls::MaxRibbonTab::MaxRibbonTab | ( | ) | [inline] |
virtual void WPFCustomControls::MaxRibbonTab::CopyFrom | ( | MaxRibbonTab | source | ) | [inline, virtual] |
readonly String
WPFCustomControls::MaxRibbonTab::UserVisibilitySettingPropertyName
= "UserVisibilitySetting" [static] |
readonly String
WPFCustomControls::MaxRibbonTab::IsAvailablePropertyName =
"IsAvailable" [static] |
bool
WPFCustomControls::MaxRibbonTab::UserVisibilitySetting [get,
set] |
bool
WPFCustomControls::MaxRibbonTab::IsAvailable [get,
set] |
This logically maps to the concept of availability in Max.
A component needs to be 'available' to be visible, or toggleable from the Show Panel/Show Tab context menu.
In general this maps to !IsAnonymous, but there are cases where a component IsAvailable == true, but is IsAnonymous as well - such as when the component is in a floating frame. The purpose of the property is to separate the logical statement of availibility from the UI state IsAnonymous.