title: WPF listview header hover/pressed color
body: <p>I'm trying to style the header of a listview depending on hover/pressed/etc. events.</p>
  
  <p>So far I tried a few things such as a trigger like the following but this does not work on my machine (a Vista Ultimate x64)</p>
  
  <pre><code>&lt;Style x:Key="GridViewColumnHeaderStyle1" TargetType="{x:Type GridViewColumnHeader}"&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="IsMouseOver" Value="true"&gt;
              &lt;Setter Property="Background" Value="Green"/&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>And the listview code:</p>
  
  <pre><code>     &lt;ListView VerticalAlignment="Bottom" IsSynchronizedWithCurrentItem="True"&gt;
          &lt;ListView.View&gt;
              &lt;GridView ColumnHeaderContainerStyle="{StaticResource GridViewColumnHeaderStyle1}" &gt;
                  &lt;GridViewColumn Header="abc"/&gt;
                  &lt;GridViewColumn Header="cde"/&gt;
              &lt;/GridView&gt;
          &lt;/ListView.View&gt;
          &lt;ListView.DataContext&gt;
              &lt;DataTemplate&gt;
                  &lt;ListViewItem Content="zxc"/&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListView.DataContext&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>The behaviour I expect is for the background of the header that I hover to become green.</p>
  
  <p>Any ideas?</p>
  
  <p>NT</p>