title: IsMouseOver trigger not working for GridViewColumn WPF XAML
body: <p>Here is the code of XAML:</p>
  
  <pre><code>&lt;Page.Resources&gt;
          &lt;Style x:Key="cells" TargetType="GridViewColumnHeader"&gt;
              &lt;Style.Triggers&gt;
                  &lt;Trigger Property="IsEnabled" Value="True"&gt;
                      &lt;Setter Property="Background" Value="#FF00B9FF"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="Foreground" Value="White"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="BorderBrush" Value="#FF00B9FF"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="Padding" Value="8"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="MinWidth" Value="100"&gt;&lt;/Setter&gt;
                  &lt;/Trigger&gt;
                  &lt;Trigger Property="IsMouseOver" Value="True"&gt;
                      &lt;Setter Property="Background" Value="#FF00B9FF"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="Foreground" Value="White"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="BorderBrush" Value="#FF00B9FF"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="Padding" Value="2"&gt;&lt;/Setter&gt;
                      &lt;Setter Property="MinWidth" Value="100"&gt;&lt;/Setter&gt;
                  &lt;/Trigger&gt;
              &lt;/Style.Triggers&gt;
  
          &lt;/Style&gt;
      &lt;/Page.Resources&gt;
      &lt;Grid&gt;
          &lt;Label Content="Notifications" VerticalAlignment="Top" HorizontalAlignment="Left" FontSize="20"&gt;&lt;/Label&gt;
          &lt;ListView Background="{x:Null}" FontSize="17" Margin="0,30,0,0" ItemsSource="{Binding Notifications}" HorizontalAlignment="Center" BorderBrush="{x:Null}"&gt;
              &lt;ListView.View&gt;
                  &lt;GridView AllowsColumnReorder="False"&gt;
                      &lt;GridViewColumn Header="Sl No." DisplayMemberBinding="{Binding Slno}" HeaderContainerStyle="{StaticResource cells}"&gt;&lt;/GridViewColumn&gt;
                      &lt;GridViewColumn Header="Message" DisplayMemberBinding="{Binding Message}" HeaderContainerStyle="{StaticResource cells}"&gt;&lt;/GridViewColumn&gt;
                      &lt;GridViewColumn Header="Date" DisplayMemberBinding="{Binding Date}" HeaderContainerStyle="{StaticResource cells}"&gt;&lt;/GridViewColumn&gt;
                  &lt;/GridView&gt;
              &lt;/ListView.View&gt;
          &lt;/ListView&gt;
      &lt;/Grid&gt;
  </code></pre>
  
  <p>The <code>IsEnabled</code> trigger is fine but the <code>IsMouseOver</code> trigger does not work. I tried to use the <code>ControlTemplate</code> but there is no property for <code>&lt;GridViewColumn/&gt;</code> and returns an error <code>Cannot convert ControlTemplate type to DataTemplate or Style</code>.</p>
  
  <p>I am trying to change the style of my Grid Header, when on MOuseOver the default template is showing. </p>
  
  <p>How can i override the style?</p>