title: wpf binding combobox to enum in different namespace
body: <p>I'm trying to bind a XAML ComboBox so that its list items are the members of the System.IO.Ports.Parity enum.  </p>
  
  <p>I've found plenty of examples of databinding enums, but it seems these don't work if the enum is in a different namespace (like System.IO.Ports).</p>
  
  <p>Right now I have:</p>
  
  <pre><code>&lt;ObjectDataProvider MethodName="GetValues" ObjectType="{x:Type sys:Enum}" x:Key="parityValues"&gt;
          &lt;ObjectDataProvider.MethodParameters&gt;
              &lt;x:Type TypeName="System.IO.Ports.Parity" /&gt;
          &lt;/ObjectDataProvider.MethodParameters&gt;
      &lt;/ObjectDataProvider&gt;
  </code></pre>
  
  <p>But I get the error "Type reference cannot find public type named 'System.IO.Ports.Parity'."</p>
  
  <p>Any ideas how to accomplish this?</p>