This project has moved and is read-only. For the latest updates, please go here.

KeyPress-CommandBinding in WAF Windows Forms Adapter?

Mar 2, 2011 at 5:05 PM

The WAF Windows Forms Adapter as it stands today includes very good support for the adaptation of WinForms controls to WPF/Silverlight-specific ViewModel patterns such as ICommand and ObservableCollection<>. It does not, however, appear to provide a mechanism for mapping key press events to commands.

Ideally I'd wish for a way to register a KeyBinding look-alike for some WinForms Control in the CommandAdapter as a way to route various key presses to different commands.

So - has anyone ever implemented a CommandBinding for key press events on WinForms Controls based on the WAF Windows Forms Adapter library?