Key gestures in toolbaritems

2 posts, 0 answers
  1. Lorenz Buchberger
    Lorenz Buchberger avatar
    10 posts
    Member since:
    Dec 2009

    Posted 09 Jan 2010 Link to this post

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

    Kind regards

  2. Ivan
    Ivan avatar
    519 posts

    Posted 12 Jan 2010 Link to this post

    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,
    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.
  3. DevCraft banner
Back to Top