Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > Key gestures in toolbaritems

Not answered Key gestures in toolbaritems

Feed from this thread
  • Lorenz Buchberger avatar

    Posted on Jan 9, 2010 (permalink)

    Hi,
    I would like to assign key gestures (like F2, oder Ctrl-F2) to Toolbar Items. How can I do that ?

    Kind regards

    Lorenz

    Reply

  • Ivan Ivan admin's avatar

    Posted on Jan 12, 2010 (permalink)

    Hi Lorenz,
     
    Thank you for contacting us.
     
    Actually there is no an universal way to bind a shortcut to a preferred functionality of a control. However you have a choice:
    • a Hot-key (only with some controls like buttons);
    • a KeyDown event-handler;
    • a Command with related Input-binding.
     
    In the attached example you can find mentioned above techniques implemented.
     
    Please give it a try and let us know if you have more questions.
     
    Sincerely yours,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > ToolBar > Key gestures in toolbaritems
Related resources for "Key gestures in toolbaritems"

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