BinaryRibbonApplicationMenuItem
class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
A command in a BinaryRibbonApplicationMenu: a large picture and its caption, and
optionally a submenu under a title of its own – Save As, Print, Share.
public class BinaryRibbonApplicationMenuItem : BinaryRibbonMenuItem, IBinaryRibbonKeyTipControl
Inherits from / implements: BinaryRibbonMenuItem, IBinaryRibbonKeyTipControl
Remarks
Set Header to the caption, BinaryRibbonMenuItem.Image to the picture, and
handle Click or set Command. Items added to it make a submenu, headed by
SubMenuTitleContent.
Examples
<bm:BinaryRibbonApplicationMenuItem Header="Print" Image="Images/Print32.png"
SubMenuTitleContent="Preview and print the invoice"
bm:BinaryKeyTip.AccessKey="P">
<bm:BinaryRibbonApplicationMenuItem Header="Print" Image="Images/Print32.png" Command="ApplicationCommands.Print" />
<bm:BinaryRibbonApplicationMenuItem Header="Print preview" Image="Images/Preview32.png" Click="OnPrintPreview" />
</bm:BinaryRibbonApplicationMenuItem>See also
Members at a glance
| Properties | |
|---|---|
SubMenuTitleContent | Gets or sets the heading at the top of the item's submenu. |
| Fields | |
SubMenuTitleContentProperty | Identifies the SubMenuTitleContent dependency property. |