Get a button in itemscontrol and add eventhandler to its click event
- by rockdale
I have a custom control shows a customer info with an itemscontrol shows this customer's invoices. within the itemscontrol, I have button, in my code behind I want to wire the button's click event to my host window, but do now know how.
//public event RoutedEventHandler ViewDetailClick;
public static readonly RoutedEvent…