wpfc#-4.0ribboncontrolslibrary

Microsoft Ribbon for WPF: ribbon:RibbonApplicationMenu issue


Using the excellent Microsoft Ribbon for WPF for .NET 4 (not the .NET 4.5 build in class) I'm trying to achieve a ribbon like in Office 2010:

Office 2010 Ribbon

However I cannot get the File text to be shown on the ribbon:RibbonApplicationMenu.

If I change the project Wizard generated code from

<ribbon:RibbonApplicationMenu SmallImageSource="Resources\SmallIcon.png">

to

<ribbon:RibbonApplicationMenu KeyTipService.KeyTip="F" Label="File">

I get this:

My Ribbon

Notice that the text File is not shown. What am I missing?


Solution

  • Looks like you will have to use GlyphRun to display custom text in the head of RibbonApplicationMenu. Please refer to the accepted answer on thread How to set text at the head of a RibbonApplicationMenu