title: Wpf Toolkit. Bind DataGrid Column Header to DynamicResource
body: <p>I'm trying to bind DataColumn Header to DynamicResource using following code.</p>
  
  <pre><code>&lt;Window.Resources&gt;
      &lt;sys:String x:Key="HeaderText"&gt;Header Text&lt;/sys:String&gt;
  &lt;/Window.Resources&gt;
  &lt;Grid&gt;
      &lt;tk:DataGrid&gt;
          &lt;tk:DataGrid.Columns&gt;
              &lt;tk:DataGridTextColumn Header="{DynamicResource HeaderText}" Width="100"/&gt;
          &lt;/tk:DataGrid.Columns&gt;
      &lt;/tk:DataGrid&gt;
  &lt;/Grid&gt;
  </code></pre>
  
  <p>But for some strange reason column header remains empty. StaticResource however works well.
  Could you please help me to figure out how to bind that Header property to some DynamicResource.</p>