title: Change/use StaticResource across app
body: <p>I want to change skin color, so did this:</p>
  
  <pre><code>&lt;Application.Resources&gt;
      &lt;Color x:Key="AppColor"&gt;#FFFFFF&lt;/Color&gt;
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p>and then used it across the app for example:</p>
  
  <pre><code>&lt;...... BackgroundColor="{StaticResource AppColor}" ... /&gt;
  </code></pre>
  
  <p>it works fine. but when I try to change it I face some problems.</p>
  
  <pre><code>Application.Current.Resources["AppColor"] = Color.FromArgb(255, 0, 255, 255);
  </code></pre>
  
  <p>I get a not implemented error. when I try remove it and add a new one:</p>
  
  <pre><code>Application.Current.Resources.Remove("AppColor");
  var color = Color.FromArgb(255, 0, 255, 255);
  Application.Current.Resources.Add("AppColor", color);
  </code></pre>
  
  <p>I get a xaml error, just whereever I've used that static value.</p>
  
  <p>How can I use a color and change it?</p>