How do I associate a keypress with a DelegateCommand in Composite WPF?
问题 I am building a composite application using CAL/Prism. The main region is a tab control, with multiple types of views in it. Each view has a custom set commands that it can handle which are bound to toolbar buttons at the top of the window. I've done this before in non-CAL apps by simply setting the InputBinding on the command, but I haven't been able to find any such mechanism in the source code for the CAL modules. My question is, what is the best way to hook up a keystroke to my view, so