title: How do I match my controls' styles to the current theme? (WPF)
body: <p>If I create a custom control with WPF, how can I provide styles for the control that match the currently applied theme (Aero, Luna, Classic, etc.)?</p>
  
  <p>For example I'd like to apply the following when using Aero:</p>
  
  <pre><code>&lt;Style&gt;
      &lt;Setter Property="Background" Value="White"/&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>But then apply a different style when using Luna:</p>
  
  <pre><code>&lt;Style&gt;
      &lt;Setter Property="Background" Value="#DFDFDF"/&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>Can I somehow extend the base themes to provide support for my new control?</p>