Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
Arrow navigation on toolmenuitems
posted

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?

Parents
  • 530
    Offline posted

    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,

    Yuki
    Developer Support Engineer
    Infragistics Inc.
    www.infragistics.com/support

    XamRibbon.zip
Reply Children
No Data