title: Strike through All Textblocks inside ListView
body: <p>How can I strike through all textblocks inside my WPF listview?  Right now I've defined a style that I have to apply to each textblock.  It looks like this</p>
  
  <pre><code>    &lt;Style x:Key="orderDetailsTextBlock" TargetType="TextBlock" &gt;
          &lt;Style.Triggers&gt;
              &lt;DataTrigger Binding="{Binding Status}" Value="Failed"&gt;
                  &lt;Setter Property="TextDecorations" Value="Strikethrough" /&gt;
              &lt;/DataTrigger&gt;
          &lt;/Style.Triggers&gt;
      &lt;/Style&gt;
  </code></pre>
  
  <p>What I want is to be able to apply this once inside the ListViewItem Style block.</p>
  
  <p>I tried to do it like this</p>
  
  <pre><code>    &lt;Style x:Key="ordersListViewItemStyle" TargetType="{x:Type ListViewItem}"&gt;
          &lt;Style.Triggers&gt;
              &lt;DataTrigger Binding="{Binding Status}" Value="Failed"&gt;
                  &lt;Setter Property="TextBlock.TextDecorations" Value="Strikethrough" /&gt;
              &lt;/DataTrigger&gt;
          &lt;/Style.Triggers&gt;           
      &lt;/Style&gt;
  </code></pre>
  
  <p>But this doesn't work.  Any help will appreciated.</p>
  
  <p><strong>Update</strong>
  I updated the ListView's XAML as follows</p>
  
  <pre><code>    &lt;ListView x:Name="orderDetails" AlternationCount="2" ItemContainerStyle="{StaticResource ordersListViewItemStyle}" &gt;
      &lt;ListView.Resources&gt;
          &lt;Style TargetType="TextBlock"&gt;
              &lt;Style.Triggers&gt;
                  &lt;DataTrigger Binding="{Binding Status}" Value="Failed"&gt;
                      &lt;Setter Property="TextDecorations" Value="Strikethrough" /&gt;
                  &lt;/DataTrigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/ListView.Resources&gt;
      &lt;ListView.View&gt;
          &lt;GridView&gt;
              &lt;GridViewColumn Width="100" Header="Статус" &gt;
                  &lt;GridViewColumn.CellTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextBlock 
                                              Text="{Binding Path=Status, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
                                              ToolTip="{Binding Path=Message, Mode=OneWay, UpdateSourceTrigger=PropertyChanged}"
                                              TextAlignment="Center" /&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/GridViewColumn.CellTemplate&gt;
              &lt;/GridViewColumn&gt;
          &lt;/GridView&gt;
      &lt;/ListView.View&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>Nothing happens.  What have I done wrong?</p>