I am trying to bind a ComboBox to data from an object. The object holds a list that is the allowed states and a string that represents its current value. The problem I'm having is that when the form loads it correctly sets the value of the combobox to its current value but I am unable to change the value to anything else. If I click the dropdown and choose a new value it closes the dropdown but retains the original value.
The comboboxs are each in a row in a DataGrid and the ComboBox is contained in the RowDetailsTemplate for the DataGrid.
XAML:
<ComboBox
x:Name="cmbStatus"
ItemsSource="{Binding Path=AllowedStateValues}"
SelectedItem="{Binding Path=State}"
Height="20"
Width="100" />