Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TabControl > Hot Key for RadTabItem

Not answered Hot Key for RadTabItem

Feed from this thread
  • Kam avatar

    Posted on Nov 4, 2011 (permalink)

    I want to assign a keyboard shortcut for direct and easy navigation to a specific tab item (just like in old days, MS provided a mechanism to Captionized the UI item with &) and I do know the WPF has an alternative to that (ampersand) form Windows Forms world.. but for some reason, renaming Header elements of my tabitem with _ (underscore) does not yield anything!

     

     

     

    <telerik:RadTabItem Header="_Main" />

     

    <telerik:RadTabItem Header="_Customer" />

     

    <telerik:RadTabItem Header="_Employee" />

    What's the secret behind this? :-) Please reply ASAP. We are looking into how flexible the tool is to support quick keyboard navigations..

    Cheers

     

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 9, 2011 (permalink)

    Hi Kam,

     You can set Label as a Header of the RadTabItems like so;

    <telerik:RadTabItem>
                            <telerik:RadTabItem.Header>
                                <Label Content="_A Tab" />
                            </telerik:RadTabItem.Header>
                        </telerik:RadTabItem>
    Please check out the attached solution. Pressing Alt + A, B or C will switch the tabs. Is this suitable for you? All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Attached files

    Reply

  • Kam avatar

    Posted on Nov 9, 2011 (permalink)

    That works for me :-)

    Great and thanks again for your prompt response.

    Cheers
    Kam

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > TabControl > Hot Key for RadTabItem
Related resources for "Hot Key for RadTabItem"

WPF TabControl Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]