This project has moved and is read-only. For the latest updates, please go here.

CheckComboBox IsSelectedProperty binding is done too late.

Oct 8, 2012 at 5:30 PM

When using the UI to update the SelectorItem.IsSelectedProperty everything works well.

But if I update the CheckComboBox data source from code, the selected items are not displayed in the combo text box until the combo is opened. After the combo was opened at least once, every further data source update from code is properly displayed by the combo text part.

After I've checked the source code, this seems to be happening because the SelectorItem.IsSelectedProperty binding is set in the PrepareContainerForItemOverride Selector's method which is fired on the first combo opening. But it seems that this time is a little bit too late to do this binding and thus this bug.

Any ideas to overcome this bug?



PS. I've tried to set the data source to null before updating it, no luck.

Oct 9, 2012 at 4:55 PM

This is a known issue.