HypernovaDesktop Components · docs
Binarymission
WPFRibbon › BinaryRibbonBackstageApplicationMenu

BinaryRibbonBackstageApplicationMenu

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office

This class implements the ribbon control's application menu functionality.

public class BinaryRibbonBackstageApplicationMenu : MenuItem, IBinaryRibbonKeyTipControl, IBinaryRibbonApplicationMenu

Inherits from / implements: MenuItem, IBinaryRibbonKeyTipControl, IBinaryRibbonApplicationMenu

Members at a glance

BinaryRibbonBackstageApplicationMenuInitializes a new instance of the BinaryRibbonApplicationMenu class.
ButtonImageGets or sets the button image for the application meny button - also know as "Pearl" button.
IsOpenGets or sets a value indicating whether the instance of keytip is open.
GetContainerForItemOverrideCreates the container that one item is shown in, which for this control is a BinaryRibbonMenuItem.
IsItemItsOwnContainerOverrideReports whether an item can be shown as it stands, without being wrapped in a container of its own.
OnApplyTemplateCalled when the template's tree is generated.
OnPopupWindowClosedCalled when this control's drop-down popup closes. Override to react to it without having to attach to the popup yourself.
OnPopupWindowOpenCalled when this control's drop-down popup opens. Override to react to it without having to attach to the popup yourself.
ButtonImagePropertyButtonImageProperty property.
IsOpenPropertyIsOpenProperty property.

Constructors

BinaryRibbonBackstageApplicationMenu

public BinaryRibbonBackstageApplicationMenu() : base()

Initializes a new instance of the BinaryRibbonApplicationMenu class.

Properties

ButtonImage

public ImageSource ButtonImage

Gets or sets the button image for the application meny button - also know as "Pearl" button.

Value. The button image.

IsOpen

public bool IsOpen

Gets or sets a value indicating whether the instance of keytip is open.

Value. true if this keytip instance is open; otherwise, false .

Methods

GetContainerForItemOverride

protected override System.Windows.DependencyObject GetContainerForItemOverride()

Creates the container that one item is shown in, which for this control is a BinaryRibbonMenuItem.

IsItemItsOwnContainerOverride

protected override bool IsItemItsOwnContainerOverride(object item)

Reports whether an item can be shown as it stands, without being wrapped in a container of its own.

OnApplyTemplate

public override void OnApplyTemplate()

Called when the template's tree is generated.

OnPopupWindowClosed

protected virtual void OnPopupWindowClosed(object sender, EventArgs e)

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

protected virtual void OnPopupWindowOpen(object sender, EventArgs e)

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.

Fields

ButtonImageProperty

public static readonly DependencyProperty ButtonImageProperty

ButtonImageProperty property.

IsOpenProperty

public static readonly DependencyProperty IsOpenProperty

IsOpenProperty property.