title: Setting a Content of Label control using Triggers
body: <p>I have got a <code>Label</code> in my <code>ControlTemplate</code> that I wish to change it's content if a trigger happens. I have tried so many different ways but no luck so far. This is the closest I come so far which I can change its apearance but not <code>Content</code></p>
  
  <pre><code>&lt;Style x:Key="PartOptionsItemStyle" TargetType="{x:Type ListViewItem}" BasedOn="{StaticResource InnerListViewItemsStyle}"&gt;
    &lt;Style.Setters&gt;
      &lt;Setter Property="Template"&gt;
        &lt;Setter.Value&gt;
          &lt;ControlTemplate TargetType="{x:Type ListViewItem}"&gt;
            &lt;Border&gt;
              &lt;Grid&gt;
                &lt;Label x:Name="OptionPrice" HorizontalAlignment="Right" Content="{Binding Path=PriceDom}" ContentStringFormat="{}{0:C}" &gt;
                  &lt;Label.Resources&gt;
                    &lt;Style TargetType="{x:Type Label}"&gt;
                      &lt;Style.Triggers&gt;
                        &lt;DataTrigger Binding="{Binding Path=PriceDom}" Value="0"&gt;
                          &lt;Setter Property="Foreground" Value="Red"&gt;&lt;/Setter&gt;
                          &lt;Setter Property="Background" Value="Black"/&gt;
                          &lt;Setter Property="TextBlock.Text" Value="Free" /&gt;
                        &lt;/DataTrigger&gt;
                      &lt;/Style.Triggers&gt;
                    &lt;/Style&gt;
                  &lt;/Label.Resources&gt;
                &lt;/Label&gt;
              &lt;/Grid&gt;
            &lt;/Border&gt;
          &lt;/ControlTemplate&gt;
        &lt;/Setter.Value&gt;
      &lt;/Setter&gt;
    &lt;/Style.Setters&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>I initially tried to write this code in the <code>ControlTemplate.Triggers</code> such as below but that didn't even effect the appearance.</p>
  
  <pre><code>          &lt;ControlTemplate.Triggers&gt;
              &lt;Trigger SourceName="OptionPrice" Property="Content"  Value="0"&gt;
                &lt;Setter Property="Foreground" Value="Red" /&gt;
              &lt;/Trigger&gt;
            &lt;/ControlTemplate.Triggers&gt;
  </code></pre>
  
  <p>What would you do, and how would you do it?</p>