title: Converter cannot be applied to a property that expects the type IValueConverter
body: <p>I have a converter which implements <code>IValueConverter</code> but is not bindable to a property.</p>
  
  <pre><code>public class StatusToBrushConverter : IValueConverter
  {
      public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
      {
          return Brushes.Red;
      }
  
      public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
      {
          throw new NotImplementedException();
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>Within XAML I added the converter as resource and added Binding to the Element</p>
  
  <pre><code>&lt;UserControl.Resources&gt;
      &lt;Converters:StatusToBrushConverter x:Key="StatusConverter"/&gt;
  &lt;/UserControl.Resources&gt;            
  
  &lt;Rectangle Fill="{Binding Status, Converter={StaticResource StatusConverter}, ElementName=userControl}"/&gt;
  </code></pre>
  
  <p>But I constantly get the error</p>
  
  <blockquote>
    <p>An object of the type "StatusToBrushConverter" cannot be applied to a property that expects the type "System.Windows.Data.IValueConverter"</p>
  </blockquote>
  
  <p>But the Converter implements the Interface <code>IValueConverter</code>. I tried several things:</p>
  
  <ul>
  <li>Rebuild, Clean, Build, Build Solution, etc.</li>
  <li>Completely new Converter --> Same</li>
  </ul>
  
  <p>Previously written converters work. Thoughts?</p>