Simple Binding question, unable to bind to button command in a DataTemplate using MVVM Light Toolkit
- by deliberative assembly
I've been attempting to bind to buttons within a DataTemplate without much success. The button does not fire. Button Click works successfully outside of the DataTemplate. Yet if I create a Click="button_click" the click button is fired. The Button Content binds perfectly as well.
Example to illustrate..
Why does…