Pavel Voronin
Pavel Voronin

Reputation: 13993

Is it possible to override CollectionViewSource.GetDefaultView to return my implementation of ICollectionView?

Is it possible to override CollectionViewSource.GetDefaultView to return my implementation of ICollection view for particular collection type?

Upvotes: 1

Views: 379

Answers (1)

hbarck
hbarck

Reputation: 2944

I don't think you can do it as default, but you can use CollectionViewSource.CollectionViewType in order to make a specific CollectionViewSource return a certain CollectionView type.

Upvotes: 1

Related Questions