title: How to refer to a User Control host's StaticResource inside the control?
body: <p>I have the following <code>StaticResource</code> in my <code>Window.Resources</code></p>
  
  <pre><code>&lt;my:someobj x:Key="someResource" /&gt;
  </code></pre>
  
  <p>I have a user control inside window. I need to refer to the above resource inside of my user control, how can I do this ? I cannot move resource to a separate dictionary file.</p>
  
  <pre><code>&lt;TextBlock Text="{Binding Source={StaticResource someResource}, Path=SomeText}" /&gt;
  </code></pre>
  
  <p>The above gives me compile error that <code>someResource</code> is not found. How can I refer to <code>someResource</code> ?</p>