How to programmatically access a datagrid row details control
问题 I've got a datagrid with some defined columns and then a row details template. How do I access a control in the row details template within the code behind? I've got a button that I want to programmatically enable/disable, but I can't figure out how to get access to it in the code behind. I've seen this on the MSDN: http://msdn.microsoft.com/en-us/library/bb613579.aspx but that's just describing a regular data template, so when I tried that it didn't work. My case is a row details data