title: How to get DataGridColumnHeader from DataGridColumn?
body: <p>My code is as follows:</p>
  
  <pre><code> void mainDataContextObj_CutSelectedColumnEvent(string columnId)
      {
          IList&lt;DataGridColumn&gt; columns = dg.Columns;
  
          for(int i=2; i&lt;dg.Columns.Count; i++)
          {
              DataGridColumnHeader headerObj = dg.Columns[i].Header as DataGridColumnHeader;
  
               //This always returns headerObj as null!!!
  
          }
      }
  </code></pre>
  
  <p>I need <code>DataGridColumnHeader</code> from the column. Where am I going wrong?</p>