what's the difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?

StackOverflow https://stackoverflow.com/questions/20137440

Pergunta

I know CollectionViewSource support grouping and sorting, except this, is there any other difference between binding ItemsSource to an ObservableCollection and to a CollectionViewSource?

Foi útil?

Solução

CollectionView of the underlying CollectionViewSource in addition to grouping, sorting, filtering, maintains CurrentItem that comes handy while setting from ViewModel.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top