title: Why am I not able to use FindResource() in Windows phone programming?
body: <p>I want to use <code>FindResource()</code> in C# Windows phone programming to change the style of a control, but I am not able to.</p>
  
  <blockquote>
    <p><code>play_btn.Style = FindResource("btnplay") as Style;</code></p>
  </blockquote>
  
  <p>This gives an error: does not exist in the current context. </p>