title: How can I reduce RadioButton binding code?
body: <p>I'm following <a href="https://stackoverflow.com/a/2908885/171121">this answer on how to databind enums (ints in my case) to RadioButtons</a>, but if I've got several TabItems each with 10x10 grids of RadioButtons, is there any way to get rid of some of that boilerplate?  As is, each RadioButton has to have all this info with it:</p>
  
  <pre><code>&lt;RadioButton 
      IsChecked="{Binding  
          RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}},  
          Path=FavoriteColor,
          Converter={StaticResource IntToBoolConverter},
          Mode=TwoWay,
          ConverterParameter=5}" 
      Content="Red" Grid.Column="4" Grid.Row="6" /&gt;
  </code></pre>
  
  <p>Preferably I'd like to be able to set the RelativeSource, the Converter, and the Mode once in the TabControl, the Path once in each TabItem, and only have the ConverterParameter set per RadioButton.  Is this possible in XAML?  If not, would doing it in codebehind make more sense?</p>