Access Controls in Silverlight DataGrid Column Header from Code
Posted
by fuzzyman
on Stack Overflow
See other posts from Stack Overflow
or by fuzzyman
Published on 2010-03-17T12:29:04Z
Indexed on
2010/03/17
12:31 UTC
Read the original article
Hit count: 377
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?
© Stack Overflow or respective owner