Wpf combobox binding issue?

The Items property is a CollectionView which wraps the ItemsSource, and includes things like the currently selected item, sort order, etc. If you set ItemsSource on an ItemsControl, your data is automatically wrapped in a CollectionView, and that's what gets set as the Items property. I suspect that this class isn't suitable for sharing between two controls.

Up vote 0 down vote favorite share g+ share fb share tw.

Wpf combobox link|improve this question edited Mar 2 '10 at 10:19ArsenMkrt13.6k33460 asked Mar 2 '10 at 8:22Muhammad Adnan3421614 69% accept rate.

You forgot to add the code – jdv-Jan de Vaan Mar 2 '10 at 8:49.

The Items property is a CollectionView which wraps the ItemsSource, and includes things like the currently selected item, sort order, etc. If you set ItemsSource on an ItemsControl, your data is automatically wrapped in a CollectionView, and that's what gets set as the Items property. I suspect that this class isn't suitable for sharing between two controls. If you're using ItemsSource to set the data on cbo1, you could maybe bind to ItemsSource instead?

That is: Haven't had chance to test this, but it's an educated guess :-).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions