WP7: Action inside DataTemplate.

Topics: Getting Started
Nov 7, 2011 at 11:54 PM


I've a ItemsControl with DataTemplate where each item is a button. So now I trying to add action for Click event. But seams nothing is working. Also I need to send a parameter with current item to the method.

Could you post some code how to add a event handler in windows phone 7 application?