Hi,
How to set the combobox selected item in xaml? I tried something doing like this
<ComboBox x:Name="cmbProject"
ItemsSource="{Binding Project}"
DisplayMemberPath="Name"
SelectedValuePath="Id"
SelectedItem="{Binding Path=Project,Mode=TwoWay}"
SelectedValue="{Binding Path=Id,Mode=OneWay}"/>
The above code does not work. I don't know where i am going wrong.
Please help
Thanks Sharath