How to tick the selected ribbon:Button in the ribbon:Menu

Ribbon for WPF Forum

Posted 6 years ago by Hejian Lin
Version: 13.2.0590
Avatar

<ribbon:Ribbon>
<ribbon:Ribbon.ApplicationMenu>
<ribbon:ApplicationMenu MinHeight="200">
<ribbon:PopupButton ImageSourceLarge="/Res/About32.ico" ImageSourceSmall="/Res/About16.ico" Label="Another Sub-menu" KeyTipAccessText="S">
<ribbon:Menu ItemVariantSize="Medium">
<ribbon:Separator Label="Sub-Menu Header Label" />
<ribbon:Button IsChecked="True" ImageSourceLarge="/Res/About32.ico" ImageSourceSmall="/Res/About16.ico" Label="Item 1" KeyTipAccessText="X"/>
<ribbon:Button ImageSourceLarge="/Res/About32.ico" ImageSourceSmall="/Res/About16.ico" Label="Item 2" KeyTipAccessText="C" />
<ribbon:Button ImageSourceLarge="/Res/About32.ico" ImageSourceSmall="/Res/About16.ico" Label="Item 3" KeyTipAccessText="P"/>
</ribbon:Menu>
</ribbon:PopupButton>
</ribbon:ApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>
</ribbon:Ribbon>

 

How can I make the checked ribbon:Button to have the tick on the right end of the menu?

Comments (1)

Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi,

Sorry but the check marks (based on IsChecked) are only templated to show on the left side of the menu.  You'd need to retemplate it if you wished to have different behavior.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.