Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1865
Binding XamComboEditor to Dictonary in code-behind
posted

All my binding code is in code-behind. I am using:

this.cboPB.ItemsSource = MyClass.Instance.MyDictionary();            

this.cboPB.DisplayMemberPath = "Value";            

this.cboPB.SelectedItem = "Key"; // THIS IS NOT AVAILABLE - HOW DO IDO THIS?

 

The dictionary referenced above is defined as type MyDictionary<int, string>();

Please help. Thanks.

Parents Reply Children