Here I checked both ItemSource and SelectedItem and they both have the values I want. 'Tedarikciler' comes from database so it is an ObservableCollection which has a list of 'DynamicProxy.Tedarikci'. The type of SeciliIplik.Tedarikci is also 'DynamicProxy.Tedarikci. But no item is selected when I run the code. I'm sure that both items are binded correctly.
<ComboBox materialDesign:HintAssist.Hint="Tedarikçi Seçin" ItemsSource="{Binding Tedarikciler}" SelectedItem="{Binding SeciliIplik.Tedarikci}" DisplayMemberPath="Adi"/>
It seems like it's a reference problem but is there ant way to achive this.
Thanks in advance