BinaryRibbonApplicationMenu
This class implements the ribbon control's application menu functionality.
public class BinaryRibbonApplicationMenu : MenuItem, IBinaryRibbonKeyTipControl, IBinaryRibbonApplicationMenu
Inherits from / implements: MenuItem, IBinaryRibbonKeyTipControl, IBinaryRibbonApplicationMenu
Members at a glance
BinaryRibbonApplicationMenu | Initializes a new instance of the BinaryRibbonApplicationMenu class. |
ButtonImage | Gets or sets the button image for the application meny button - also know as "Pearl" button. |
FooterContent | Gets or sets the content for the footer area in the application menu window. |
FooterDataTemplate | Gets or sets the DataTemplate for the footer content. |
HeaderContent | Gets or sets the content for the header area in the application menu window. |
HeaderDataTemplate | Gets or sets the DataTemplate for the header content. |
IsOpen | Gets or sets a value indicating whether the instance of keytip is open. |
RecentItems | Gets or sets the "recent items" content - i.e. say for example a list of recent documents. |
RecentItemsDataSource | Gets or sets the "recent items" content's data source. |
RecentItemsTemplate | Gets or sets the DataTemplate for the RecentItems content. |
GetContainerForItemOverride | Creates the container that one item is shown in, which for this control is a BinaryRibbonMenuItem. |
IsItemItsOwnContainerOverride | Reports whether an item can be shown as it stands, without being wrapped in a container of its own. |
OnApplyTemplate | Called when the template's tree is generated. |
OnPopupWindowClosed | Called when this control's drop-down popup closes. Override to react to it without having to attach to the popup yourself. |
OnPopupWindowOpen | Called when this control's drop-down popup opens. Override to react to it without having to attach to the popup yourself. |
PrepareContainerForItemOverride | Applies this control's own settings to a container before the item it holds is shown. |
ButtonImageProperty | ButtonImageProperty property. |
FooterContentProperty | FooterContentProperty property. |
FooterDataTemplateProperty | FooterDataTemplateProperty property. |
HeaderContentProperty | HeaderContentProperty property. |
HeaderDataTemplateProperty | HeaderDataTemplateProperty property. |
IsOpenProperty | IsOpenProperty property. |
RecentItemsDataSourceProperty | RecentItemsDataSourceProperty property. |
RecentItemsProperty | RecentItemsProperty property. |
RecentItemsTemplateProperty | RecentItemsTemplateProperty property. |
Constructors
Properties
ButtonImage
Gets or sets the button image for the application meny button - also know as "Pearl" button.
Value. The button image.
HeaderContent
Gets or sets the content for the header area in the application menu window.
Value. The content of the header.
HeaderDataTemplate
Gets or sets the DataTemplate for the header content.
Value. The header data template.
IsOpen
Gets or sets a value indicating whether the instance of keytip is open.
Value. true if this keytip instance is open; otherwise, false .
RecentItems
Gets or sets the "recent items" content - i.e. say for example a list of recent documents.
RecentItemsDataSource
Gets or sets the "recent items" content's data source.
Value. The recent items data source.
RecentItemsTemplate
Gets or sets the DataTemplate for the RecentItems content.
Value. The recent items's data template.
Methods
GetContainerForItemOverride
Creates the container that one item is shown in, which for this control is a BinaryRibbonMenuItem.
IsItemItsOwnContainerOverride
Reports whether an item can be shown as it stands, without being wrapped in a container of its own.
OnApplyTemplate
Called when the template's tree is generated.
OnPopupWindowClosed
Called when this control's drop-down popup closes. Override to react to it without having to attach to the popup yourself.
- sender
- The popup.
- e
- Not used.
OnPopupWindowOpen
Called when this control's drop-down popup opens. Override to react to it without having to attach to the popup yourself.
- sender
- The popup.
- e
- Not used.
PrepareContainerForItemOverride
Applies this control's own settings to a container before the item it holds is shown.
Fields
ButtonImageProperty
ButtonImageProperty property.
HeaderContentProperty
HeaderContentProperty property.
HeaderDataTemplateProperty
HeaderDataTemplateProperty property.
IsOpenProperty
IsOpenProperty property.
RecentItemsDataSourceProperty
RecentItemsDataSourceProperty property.
RecentItemsProperty
RecentItemsProperty property.
RecentItemsTemplateProperty
RecentItemsTemplateProperty property.