title: WPF ToggleButton IsChecked Trigger
body: <p>This is driving me batty.  I have a simple WPF toggle button, with two triggers for IsChecked.  One for the value being true, and the other for the value being false.  It works fine when the button is not checked, my style for false is applied; however, the system never applies the style for when IsChecked is true.  It always just uses the default blue chrome windows style.  Any ideas?</p>
  
  <pre><code>&lt;ToggleButton Content="Control 1" Width="200" Margin="0,0,0,10" Focusable="False"&gt;
      &lt;ToggleButton.Resources&gt;
          &lt;Style TargetType="{x:Type ToggleButton}"&gt;
              &lt;Style.Triggers&gt;
                  &lt;Trigger Property="IsChecked" Value="True"&gt;
                      &lt;Setter Property="Background"&gt;
                          &lt;Setter.Value&gt;
                              &lt;LinearGradientBrush EndPoint="0,1" StartPoint="0,0"&gt;
                                  &lt;GradientStop Color="#FFF3F3F3" Offset="1"/&gt;
                                  &lt;GradientStop Color="LawnGreen" Offset="0.307"/&gt;
                              &lt;/LinearGradientBrush&gt;
                          &lt;/Setter.Value&gt;
                      &lt;/Setter&gt;
                  &lt;/Trigger&gt;
                  &lt;Trigger Property="IsChecked" Value="False"&gt;
                      &lt;Setter Property="Background"&gt;
                          &lt;Setter.Value&gt;
                              &lt;LinearGradientBrush EndPoint="0,1" StartPoint="0,0"&gt;
                                  &lt;GradientStop Color="#FFF3F3F3" Offset="1"/&gt;
                                  &lt;GradientStop Color="Red" Offset="0.307"/&gt;
                              &lt;/LinearGradientBrush&gt;
                          &lt;/Setter.Value&gt;
                      &lt;/Setter&gt;
                  &lt;/Trigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/ToggleButton.Resources&gt;
  &lt;/ToggleButton&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.  I'm sure it's something obvious that I'm just overlooking.</p>