title: WPF ComboBox Binding to Enumeration
body: <p>I have a Combo Box that has ItemsSource Bound to an Enumeration using ObjectDataProvider, and its SelectedItem Property is bound to a property of a businessobject.
  For some reason it's binding SelectedItem first and ItemsSource second, therefore overwriting my default on the businessobject property. Any ideas why and possibly a fix?
  Thanks in Advance.</p>
  
  <p>XAML:</p>
  
  <pre><code>&lt;CollectionViewSource x:Key="Units"&gt;
       &lt;CollectionViewSource.Source&gt;
            &lt;ObjectDataProvider MethodName="GetNames" ObjectType="{x:Type sys:Enum}"&gt;
                 &lt;ObjectDataProvider.MethodParameters&gt;
                      &lt;x:Type TypeName="BO:Unit"/&gt;
                 &lt;/ObjectDataProvider.MethodParameters&gt;
            &lt;/ObjectDataProvider&gt;
       &lt;/CollectionViewSource.Source&gt;
  &lt;/CollectionViewSource&gt;
  
  &lt;ComboBox Grid.Column="1" HorizontalAlignment="Right" Width="80"
            ItemsSource="{Binding Source={StaticResource Units}}" 
            SelectedItem="{Binding Path=Unit}"/&gt;
  </code></pre>