title: c# How do I pass the value of the DataGrid Cell into a converter?
body: <p>How do I pass the value of the <code>DataGridCell</code> into the <code>Foreground</code> property converter? </p>
  
  <p>So <code>GooglePositionConvertor</code> will return a value created from the object passed by Path=. however I want to change the cell style foreground colour based on the value returned by <code>GooglePositionConvertor</code>.</p>
  
  <pre><code>&lt;DataGridTextColumn Binding="{Binding Path=., Converter={StaticResource GooglePositionConvertor}}"&gt;
      &lt;DataGridTextColumn.CellStyle&gt;
          &lt;Style TargetType="{x:Type DataGridCell}"&gt;
              &lt;Setter Property="Foreground" Value="{????????????, Converter={StaticResource ChangeBrushColour}}"/&gt;
          &lt;/Style&gt;
      &lt;/DataGridTextColumn.CellStyle&gt;
  &lt;/DataGridTextColumn&gt;
  </code></pre>