Telerik UI for WPF
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WPF
This is a migrated thread and some comments may be shown as answers.
Key gestures in toolbaritems
1 Answer
41 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Lorenz Buchberger
Top achievements
Rank 1
Lorenz Buchberger
asked on
09 Jan 2010,
10:49 AM
Hi,
I would like to assign key gestures (like F2, oder Ctrl-F2) to Toolbar Items. How can I do that ?
Kind regards
Lorenz
Add a comment
Submit comment
Cancel
1 Answer
, 1 is accepted
Sort by
Score
Date
0
Ivan
Telerik team
answered on
12 Jan 2010,
03:00 PM
271970-example-20100112-1653.zip
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.
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
ToolBar
Asked by
Lorenz Buchberger
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or
Copy link