I have a XamRibbon with several MenuTool inside.
Below is my sample codes:
<igRibbon:MenuTool igRibbon:RibbonGroup.MaximumSize="ImageOnly" ButtonType="Segmented" KeyboardNavigation.DirectionalNavigation="Cycle" Click="MenuTool_Click"> <igRibbon:MenuTool.SmallImage> <BitmapImage UriSource="/WpfApplication2;component/Resources/rebalance_session_16.png" /> </igRibbon:MenuTool.SmallImage> <igRibbon:ToolMenuItem Header="h1"/> <igRibbon:ToolMenuItem Header="Hello1" /> </igRibbon:MenuTool>
but when i try to use up/down key to navigation among the tool menu item, the focus and highlight are messed up.
Any ideas about this please?
Hello Power,
You can use ButtonTool under MenuTool. Please refer to the attached sample for the detail.
<igRibbon:MenuTool igRibbon:RibbonGroup.MaximumSize="ImageOnly" ButtonType="Segmented" KeyboardNavigation.DirectionalNavigation="Cycle"> <igRibbon:MenuTool.SmallImage> <BitmapImage UriSource="/XamRibbon;component/Resources/rebalance_session_16.png" /> </igRibbon:MenuTool.SmallImage> <igRibbon:ButtonTool Caption="hi"/> <igRibbon:ButtonTool Caption="Hello1"/> <!--<igRibbon:ToolMenuItem Header="h1"/> <igRibbon:ToolMenuItem Header="Hello1" />--> </igRibbon:MenuTool>
Sincerely,
YukiDeveloper Support EngineerInfragistics Inc.www.infragistics.com/support
Thanks, Yuki,
I tried, but I need InputGestureText which ButtonTool does not support at all. Any suggestions on that plz?
Regards,
Nathan