title: Get x:Name from DependencyObject defined in XAML in WPF
body: <p>I'm trying to get the <code>x:Name</code> of a DataGridColumn. The DataGridColumn is derived directly from DependencyObject, so I can't convert it to a <code>FrameworkElement</code> and use the <code>Name</code> property. </p>
  
  <p>Here is my code in XAML:</p>
  
  <pre><code>&lt;toolkit:DataGridCheckBoxColumn Header="Abgerechnet" x:Name="DataGridColumAbgerechnet" /&gt;
  </code></pre>
  
  <p>And now I want to find this Column in the DataGrid by its <code>x:Name</code>.</p>
  
  <p>How can I do this?</p>