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
265
SelectedIndex of XamComboEditor
posted

Hello,

my XamComboEditor is created using a Binding for it's ItemsSource Property and it's SelectedItem Property. When initializing the XamComboEditor the default SelectedIndex, which is -1, is set and my bound property is set to null.

When interacting with the XamComboEditor the value is set absolutely as expected. The problem just occurs on initialization.

I fixed the problem by setting the the correct item again, using Dispactcher.Invoke, but I really do not like to do this.

Is this a bug or did I incorrectly instantiate the XamComboEditor?

Thanks in advance,

Stef

Parents Reply Children
No Data