title: how to use DynamicResource in the code behind?
body: <p>I'd like to be able to set a property to a dynamic resource programmatically.</p>
  
  <pre><code>myControl.Property = this.Resource[key]
  </code></pre>
  
  <p>is not a valid response, since if the resource with the key 'key' is replaced, the property is not updated automatically.</p>
  
  <p>Thanks for you response,</p>