title: Bind trigger value to a property
body: <p>I'm trying to setup a trigger so if two values match a color change happens, this is easy when the thing to match is static and can be placed right into xaml, but not when the thing to be compared is dynamic, such as a property. Basically is there anyway to bind the value of a trigger to a property?</p>
  
  <p>Example - Error says value can not use a binding. This leads me to think that value has to be static. </p>
  
  <pre><code>&lt;TextBlock Name="MyTextBlock" Text="{Binding someProp}"&gt;
      &lt;TextBlock.Resources&gt;
          &lt;Style TargetType="TextBlock"&gt;
              &lt;Style.Triggers&gt;
                  &lt;DataTrigger Binding="{Binding ElementName=MyTextBlock, Path=Text}" Value="{Binding someOtherProperty}"&gt;
                      Do some stuff here
                  &lt;/DataTrigger&gt;
              &lt;/Style.Triggers&gt;
          &lt;/Style&gt;
      &lt;/TextBlock.Resources&gt;
  &lt;/Textblock&gt;
  </code></pre>
  
  <p>EDIT: Updated it to a data trigger, but the issue remains.</p>