Since this question is rather vague I'll post an example combobox of mine :
<ComboBox x:Name="ActieComboBox" Grid.Column="1" Grid.Row="4" Margin="2" ItemsSource="{Binding Source={StaticResource ProjectTaakCategorieViewSource}}" ItemTemplate="{StaticResource ProjectTakenComboBoxItemTemplate}" SelectedValuePath="TaakCategorieId" SelectedValue="{Binding CategorieId,Mode=TwoWay}" />
Important stuff is that the selectedValue uses twoway binding