The WPF Ribbon control can be downloaded from the Office UI Licensing site. One of its most interesting features is its application menu.
You can create menus and sub menus to match the look of an office 2007 application.

Simply add a new RibbonApplicationMenuItem to the ApplicationMenu.
You can then create a combination of sub menu items by placing them inside other Menu Items
<r:Ribbon.ApplicationMenu>
<r:RibbonApplicationMenu>
<r:RibbonApplicationMenu.Command>
<r:RibbonCommand
Executed="OnCloseApplication"
LabelTitle="Application Button"
LabelDescription="Close the application."
SmallImageSource="images/Coins.png"
LargeImageSource="images/Coins.png"
ToolTipTitle="Personal Finance Manager"
ToolTipDescription="Click here to open or save a checkbook register." />
</r:RibbonApplicationMenu.Command>
<r:RibbonApplicationMenuItem Height="200">
<r:RibbonApplicationMenuItem.Command>
<r:RibbonCommand
LabelTitle="Close"
LargeImageSource="images/Coins.png"
LabelDescription="Close The Application"
Executed="OnCloseApplication" />
</r:RibbonApplicationMenuItem.Command>
<r:RibbonApplicationMenuItem BorderBrush="Aqua" BorderThickness="4" Height="50">
<r:RibbonApplicationMenuItem.Command>
<r:RibbonCommand
LargeImageSource="images/Backup.png"
LabelDescription="Close With saving"
Executed="OnCloseApplication" />
</r:RibbonApplicationMenuItem.Command>
</r:RibbonApplicationMenuItem>
<r:RibbonApplicationMenuItem BorderBrush="Aqua" BorderThickness="4" Height="50">
<r:RibbonApplicationMenuItem.Command>
<r:RibbonCommand
LargeImageSource="images/delete.png"
LabelDescription="Close Without saving"
Executed="OnCloseApplication" />
</r:RibbonApplicationMenuItem.Command>
</r:RibbonApplicationMenuItem>
</r:RibbonApplicationMenuItem>
</r:RibbonApplicationMenu>
</r:Ribbon.ApplicationMenu>
Simple and looks like an office application.
Posted
17 Jan 2010 8:18 PM
by
Gal Ratner