title: how to pass an integer as ConverterParameter?
body: <p>I am trying to bind to an integer property:</p>
  
  <pre><code>&lt;RadioButton Content="None"
               IsChecked="{Binding MyProperty,
                           Converter={StaticResource IntToBoolConverter},
                           ConverterParameter=0}" /&gt;
  </code></pre>
  
  <p>and my converter is:</p>
  
  <pre><code>[ValueConversion(typeof(int), typeof(bool))]
  public class IntToBoolConverter : IValueConverter
  {
      public object Convert(object value, Type t, object parameter, CultureInfo culture)
      {
          return value.Equals(parameter);
      }
  
      public object ConvertBack(object value, Type t, object parameter, CultureInfo culture)
      {
          return value.Equals(false) ? DependencyProperty.UnsetValue : parameter;
      }
  }
  </code></pre>
  
  <p>the problem is that when my converter is called the parameter is string. i need it to be an integer. of course i can parse the string, but do i have to?</p>
  
  <p>thanks for any help
  konstantin</p>