Class BinaryRibbonMenuItem
A custom menuitem class that enhances the user experience, and also simulates the MS Office like menu items.
Implements
Namespace: Binarymission.WPF.Controls.Office
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryRibbonMenuItem : MenuItem, IBinaryRibbonKeyTipControl
Constructors
BinaryRibbonMenuItem()
Declaration
public BinaryRibbonMenuItem()
Properties
Image
Gets or sets the image.
Declaration
public ImageSource Image { get; set; }
Methods
OnApplyTemplate()
Called when the template's tree is generated.
Declaration
public override void OnApplyTemplate()
OnPopupClosed(Object, EventArgs)
Declaration
protected virtual void OnPopupClosed(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | |
EventArgs | e |
OnPopupOpen(Object, EventArgs)
Declaration
protected virtual void OnPopupOpen(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | |
EventArgs | e |
OnSubmenuClosed(RoutedEventArgs)
Declaration
protected override void OnSubmenuClosed(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RoutedEventArgs | e |
OnSubmenuOpened(RoutedEventArgs)
Declaration
protected override void OnSubmenuOpened(RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
RoutedEventArgs | e |
Explicit Interface Implementations
IBinaryRibbonKeyTipControl.PerformKeyTipExecute()
Performs custom logic for the method PerformKeyTipExecute().
Declaration
void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()