title: Can I pass entire UI element into a IValueConverter?
body: <pre><code>&lt;DataTemplate&gt;
    &lt;StackPanel Orientation="Vertical" Name="AddressStackPanel" &gt;
      &lt;ComboBox  Name="ComboBox" ItemsSource="{Binding Path=MatchedAddressList}" DisplayMemberPath="Address" SelectedIndex="0" SelectionChanged="ComboBox_SelectionChanged"/&gt;
      &lt;TextBlock Name="InputtedAddress" Text="{Binding Path=InputtedAddress}"  Foreground={Hopefully pass the UI element to the dataconverter }  /&gt;
    &lt;/StackPanel&gt;
  &lt;/DataTemplate&gt;
  </code></pre>
  
  <p>The ComboBox has addresses matched by from a geodatabase with the highest scoring value selected. The Textblock has the user-inputted address that was used for matching.  If the address is the same, I want the foreground to be Green, otherwise Red. </p>
  
  <p>I thought maybe I could pass the entire TextBlock into the dataconverter, get its Parent StackPanel, get child 0, cast to a Combobox get the 0th element and compare, and then return red or green.  Is this do-able?  </p>
  
  <p>Otherwise I think I have to traverse the visual tree which is just as ugly i think </p>