Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
swdev:dotnet:wpf:controltemplates [2012/12/07 17:06]
smayr created
swdev:dotnet:wpf:controltemplates [2012/12/07 17:09] (current)
smayr [How to: Find ControlTemplate-Generated Elements]
Line 1: Line 1:
-== DataTemplate ==+== ControlTemplate ==
  
 <code xml> <code xml>
Line 5: Line 5:
 </code> </code>
  
-Code behind to get a reference to object owning btnDelete:+Code behind:
 <code csharp> <code csharp>
 </code> </code>
Line 43: Line 43:
     + gridInTemplate.GetValue(Grid.ActualWidthProperty).ToString());     + gridInTemplate.GetValue(Grid.ActualWidthProperty).ToString());
 </code> </code>
-Source: [[http://msdn.microsoft.com/en-us/library/bb613586.aspx|MSDN: How to: Find ControlTemplate-Generated Elements]]   +Source: [[http://msdn.microsoft.com/en-us/library/bb613586.aspx|MSDN: How to: Find ControlTemplate-Generated Elements]]  
 +