<igRibbon:XamRibbon.ApplicationMenu> <igRibbon:ApplicationMenu Image="Images\Icons\logoWOtext-600px.png" Visibility="{Binding MenuItemsVisibility}"> <igRibbon:MenuTool Caption="Types" x:Name="MenuTool"> <igRibbon:ButtonTool Content="a" x:Name="a" Command="{Binding aCommand}" /> <igRibbon:ButtonTool Content="b" x:Name="b" Command="{Binding bCommand}" /> <igRibbon:ButtonTool Content="c" x:Name="c" Command="{Binding bCommand}" /> </igRibbon:MenuTool> </igRibbon:MenuTool> </igRibbon:ApplicationMenu> </igRibbon:XamRibbon.ApplicationMenu>
I have a menu items . i want to hide few menu items based on some condition dynamically (logged in person).
Can you please suggest how can i implement it
Hello,
Thank you for your post. I have been reading through it and I can suggest using the Visibility property of the items of the ApplicationMenu, in order to hide and show them. I have created a sample application for you that demonstrates the approach I have mentioned.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am just checking if you require any further assistance on the matter.