title: WPF DataGridTextColumn binding and style
body: <p>here's the deal: styling the DataGridTextColumn's textblock for a datagrid.
  I need to format the textblock by it's value, by comparing it from another binded value.</p>
  
  <p>What i want to achieve is something like this:</p>
  
  <pre><code>&lt;Style x:Key="ExpeditionerCellStyle" BasedOn="{StaticResource RightAlignStyle}" TargetType="{x:Type TextBlock}"&gt;
      &lt;Style.Triggers&gt;
          &lt;DataTrigger Binding="{Binding Path=BEST}" Value="{RelativeSource Mode=Self}"&gt;
              &lt;Setter Property="Background" Value="Green" /&gt;
          &lt;/DataTrigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt; 
  </code></pre>
  
  <p>Which is not possible, because the Value of Datatrigger cannot be a relative source.</p>
  
  <p>So i tried with multibinding</p>
  
  <pre><code>&lt;Style x:Key="ExpeditionerCellStyle" BasedOn="{StaticResource RightAlignStyle}" TargetType="{x:Type TextBlock}"&gt;
   &lt;Style.Triggers&gt;
    &lt;DataTrigger Value="True"&gt;
      &lt;DataTrigger.Binding&gt;
        &lt;MultiBinding Converter="{StaticResource IsValueEqualParameterConverter}"&gt;
          &lt;Binding Path="BEST" /&gt;
          &lt;Binding RelativeSource="{RelativeSource Mode=Self}" /&gt;
        &lt;/MultiBinding&gt;
       &lt;/DataTrigger.Binding&gt;
      &lt;/DataTrigger&gt;
     &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>with no luck: textblock Text property is empty, probably because the style is applied before the actual binding is performed.</p>
  
  <p>I have no more ideas. </p>
  
  <p>Please help me!</p>