title: How to bind the SelectedValue property of a ComboBox to a string property?
body: <p>I have a DataForm control from the Silverlight Toolkit, and in it I have a ComboBox field. The selected value of the combo box should be bound to one of the properties of my IEditable class, so that when for example "H.S." is selected ,the value of my property becomes H.S. However, the binding changes the value of my property to System.Windows.Controls.ComboBoxItem. The result is the same if I use the SelectedItem property instead, as suggested by some other similar questions on stackoverflow. How should I bind the ComboBox's SelectedValue property to my other property? Here is my XAML(the ItemSource is set in the constructor of the page in C# code):</p>
  
  <pre><code> &lt;toolkit:DataForm  
                      Name="dataForm" 
                      ItemsSource="{Binding}"  
                      AutoGenerateFields="False"
                      Margin="150, 0, 150, 0"
                      CommitButtonContent="Next"
                      CancelButtonContent="Clear"
                      CommandButtonsVisibility="Commit, Cancel"&gt;
                      &lt;StackPanel&gt;
                           &lt;toolkit:DataField LabelPosition="Top"&gt;
                              &lt;ComboBox SelectedValue="{Binding Degree, Mode=TwoWay}"&gt;
                                  &lt;ComboBoxItem Content="H.S." /&gt;
                                  &lt;ComboBoxItem Content="B.S./B.A." /&gt;
                                  &lt;ComboBoxItem Content="M.S./M.A." /&gt;
                                  &lt;ComboBoxItem Content="Ph. D." /&gt;
                                  &lt;ComboBoxItem Content="M.D." /&gt;
                              &lt;/ComboBox&gt;
                          &lt;/toolkit:DataField&gt;
                      &lt;/StackPanel&gt;
  &lt;/toolkit:DataForm&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>