I am trying to use the MVVM pattern for the first time. So I have an ItemsControl
filled with my viewmodel objects, displayed using DataTemplate
\'s; th
There are ways to do that without code-behind...
You could use the attached behavior pattern to map events to commands, see Marlon Grech's implementation here
You could also use a markup extension that I wrote to bind InputBindings to ViewModel commands, like this :
However I'm not sure it fits your specific needs...