There is a combobox whose itemssource is filled from the database
UFSSPEntities context = new UFSSPEntities(); var RepliesVS = (CollectionViewSource)FindResource("RepliesVS"); context.Replies.Load(); RepliesVS.Source = context.Replies.Local; In the following way it becomes attached:
ItemsSource="{Binding Mode=OneWay, Source={StaticResource RepliesVS}}" DisplayMemberPath="Description" SelectedValuePath="ID" SelectedValue="{Binding Path=REPLY}" If the REPLY field is null, then the first value is selected in the combobox. How can I get an empty item selected instead?