title: In WPF, is there a way to bind to sibling properties?
body: <p>I have a series of <code>TextBlock</code> and <code>TextBox</code> controls.  Is there a way to apply a <code>Style</code> to the <code>TextBlock</code>s such that they can databind to the control immediately after them?  </p>
  
  <p>I'd like to be able to do something like this:</p>
  
  <pre><code>&lt;Resources..&gt;
      &lt;Style x:Key="BindToFollowingTextBoxSibling"&gt;
          &lt;Setter Property="TextBlock.Text" Value="{Binding RelativeSource={RelativeSource FollowingSibling}, Path=Text, Converter={StaticResource MyConverter}}" /&gt;
          &lt;Setter Property="TextBlock.Background" Value="{Binding RelativeSource={RelativeSource FollowingSibling}, Path=Text, Converter={StaticResource TextToBrushConverter}}" /&gt;
          ... More properties and converters.
      &lt;/Style&gt;
  &lt;/Resources&gt;
  
  ...
  
  &lt;TextBlock Style="{StaticResource BindToFollowingTextBoxSibling}"/&gt;
  &lt;TextBox/&gt;
  
  &lt;TextBlock Style="{StaticResource BindToFollowingTextBoxSibling}"/&gt;
  &lt;TextBox/&gt;
  &lt;TextBlock Style="{StaticResource BindToPreviousTextBoxSibling}"/&gt;
  </code></pre>
  
  <p>Is something like this even possible?</p>