Access Controls in Silverlight DataGrid Column Header from Code
- by fuzzyman
We have custom headers in the Silverlight DataGrid using the ContentTemplate. We've got a button in the header and need to programmatically access the button to hook up the event. We're using IronPython, so we can't statically bind the event in the xaml (plus we use the grid for many different views - so we dynamically generate the xaml).
How can we get access to controls inside a datagrid column header?