title: Change selection color of ListBox Item
body: <p>I have a normal <code>ListBox</code> and I want to change the selection color to Red. Here's what I've got so far.</p>
  
  <pre><code>&lt;Style x:Key="myLBStyle" TargetType="{x:Type ListBoxItem}"&gt;
      &lt;Style.Resources&gt;
          &lt;SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" 
                           Color="red" /&gt;
          &lt;SolidColorBrush x:Key="{x:Static SystemColors.InactiveSelectionHighlightBrushKey}"
                           Color="red" /&gt;
      &lt;/Style.Resources&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>It's working. The SelectedItem is Red and stay Red even if it's out of focus. </p>
  
  <p>Here's my real problem: In my grid I also have a <code>CheckBox</code> and I want the above style to apply only if the CheckBox is checked. </p>
  
  <p>So if the CheckBox is checked i want the selection color to be Red and to be Blue (or default color) if the CheckBox is unchecked.</p>
  
  <p>I went through the web and i can't find anything, so i'm looking for help.</p>