title: Trigger in WPF is not working
body: <p>I have a <code>ListView</code>, with <code>ListView.View</code> as <code>GridView</code>.</p>
  
  <p>Default, the <code>mouseOver</code> is working, <code>ListViewItem</code> get highlighted when I mouseover, and get selected when I click it. But after I modified the <code>ControlTemplate</code>, I get the template I want, but the highlight and select is gone.</p>
  
  <p>I use trigger, but it's not working.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>&lt;Style x:Key="filesListViewItemStyle" TargetType="{x:Type ListViewItem}"&gt;
              &lt;Setter Property="IsSelected" Value="{Binding FileIsSelected}"/&gt;
              &lt;Setter Property="HorizontalContentAlignment" Value="Stretch"/&gt;
              &lt;Setter Property="Template"&gt;
                  &lt;Setter.Value&gt;
                      &lt;ControlTemplate TargetType="ListViewItem"&gt;
                          &lt;Grid Height="40"&gt;
                              &lt;GridViewRowPresenter/&gt;
                              &lt;Line X1="0.0" Y1="0.0" X2="{Binding ActualWidth, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ListView}}}" Y2="0.0" StrokeThickness="1" StrokeDashArray="2" Stroke="Gray" /&gt;
                          &lt;/Grid&gt;
                          &lt;ControlTemplate.Triggers&gt;
                              &lt;Trigger Property="IsMouseOver" Value="True"&gt;
                                  &lt;Setter Property="Background" Value="Green"/&gt;
                              &lt;/Trigger&gt;
                          &lt;/ControlTemplate.Triggers&gt;
                      &lt;/ControlTemplate&gt;
                  &lt;/Setter.Value&gt;
              &lt;/Setter&gt;
          &lt;/Style&gt;
  </code></pre>
  
  <p>In my template, I actually added a line as a separator between 2 rows of <code>ListViewItem</code>.</p>
  
  <p>I just don't get it why the trigger is not working!</p>