Я пытаюсь получить текст на верхнем уровне RibbonApplicationMenu (пытаясь получить слово "Файл", похожее на Word или Outlook). Кажется, Microsoft.Windows.Controls.Ribbon.RibbonApplicationMenu
http://msdn.microsoft.com/en-us/library/microsoft.windows.controls.ribbon.ribbonapplicationmenu.aspx поддерживает объект SmallImageSource, но не имеет свойства text. Установка свойства Label
не работает для этой проблемы.
xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
<ribbon:RibbonApplicationMenu Label="File"> <!--doesn't set the label -->
</ribbon:RibbonApplicationMenu>
Цель состоит в том, чтобы слово "Файл" появилось в приведенной ниже области.