Я хочу иметь RibbonGallery в моем меню (как this ).
Это мой код:
<r:RibbonGroup>
<r:RibbonGallery SelectedValue="Green" SelectedValuePath="Content" MaxColumnCount="1">
<r:RibbonGalleryCategory>
<r:RibbonGalleryItem Content="Green" Foreground="Green" />
<r:RibbonGalleryItem Content="Blue" Foreground="Blue" />
<r:RibbonGalleryItem Content="Orange" Foreground="Orange" />
</r:RibbonGalleryCategory>
</r:RibbonGallery>
</r:RibbonGroup>
И это мое исключение:
RibbonGroupsPanel RegisterStarLayoutProvider and UnregisterStarLayoutProvider accepts only IProvideStarLayoutInfo instances.
Имя_параметра: starLayoutInfoProvider
Можете ли вы помочь мне?