WPF allows me to easily bind keyboard shortcuts at the window level to a method using the InputBindings property. What is the equivalent of this in WinRT? What is the right way to bind keyboard shortcuts to methods in WinRT?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Keyboard shortcuts are described here. I think you want either access keys or accelerator keys.
See @Magiel’s answer for implementation details for the code-side of things.