title: How can I set a WPF control's color to a system color programmatically, so that it updates on color scheme changes?
body: <p>How can I do this in WPF's code-behind?</p>
  
  <pre><code>&lt;Grid Background="{DynamicResource {x:Static SystemColors.DesktopBrushKey}}"/&gt;
  </code></pre>