title: DynamicResource with DataTemplate
body: <p>I have <code>UserControl</code> which needs to perform some multi-linguality. In constructor, I dynamically load proper XAML with <code>ResourceDictionary</code>. In that XAML I have:</p>
  
  <pre><code>&lt;ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:system="clr-namespace:System;assembly=mscorlib"&gt;
  &lt;system:String x:Key="somekey"&gt;Some Label&lt;/system:String&gt;&lt;/ResourceDictionary&gt;
  </code></pre>
  
  <p>I then have</p>
  
  <pre><code>Header = {DynamicResource somekey}
  </code></pre>
  
  <p>in <code>DataGridTextColumn</code> in DataTemplate which is also used by this <code>UserControl</code>. It looks like the DataTemplate doesn't know about the new ResourceDictionary.</p>
  
  <p>But, it does not work. Please, why?</p>