Click here to Skip to main content
15,907,183 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can you tell me step by step process in creating short Cut keys in WPF in MVVM pattern?
Posted
Updated 26-Nov-10 21:12pm
v2

If you are talking about menu options, see here[^].
The same approach can be applied to other controls as well.
 
Share this answer
 
In Xaml,
C#
<window>
<window.inputbindings>
<keybinding command="{Binding <CommandName>}" key="<Key>" />
</window.inputbindings>
</window>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900