ToolMenuItem Command is not working. Where it is wrong??
<igRibbon:MenuTool Caption="Export" SmallImage="Export16.png" LargeImage="Export32.png"> <igRibbon:ToolMenuItem Header="Export Selected" Command="{Binding Path=ExportWidget}"> <igRibbon:ToolMenuItem.Icon> <Image Source="Export32.png" /> </igRibbon:ToolMenuItem.Icon> </igRibbon:ToolMenuItem> <igRibbon:ToolMenuItem Header="Export All" Command="{Binding Path=ExportWidget}"> <igRibbon:ToolMenuItem.Icon> <Image Source="Export16.png" /> </igRibbon:ToolMenuItem.Icon> </igRibbon:ToolMenuItem> </igRibbon:MenuTool>
I used the ButtonTool control in place of ToolMenuItem, which works for me.
Thanks.