How to bind Command property on InputBindings

May 7, 2008 at 5:53 PM
We have been following the latest spike example using DataTemplates instead of user controls. In regards to Commands, we can see how it works with a Button or other controls where the Command property is actually a dependency property, which allows for easy binding. However, we have run into a bit of a problem with the KeyBinding which we added to the InputBindings property on a TextBox because its Command property is not a DependencyProperty and does not allow bindings.

Any ideas?
Apr 11, 2009 at 2:47 PM
Hi katokay,
 
I have encountered the same issue with keybindings.
 
You might find my approach useful. See http://compositeextensions.codeplex.com/Thread/View.aspx?ThreadId=52980.
 
jbe