Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why ItemCollection.Groups is collection of Objects and not CollectionViewGroups?

Tags:

c#

wpf

I mean are there cases when its items are not CollectionViewGroup?

like image 234
zduny Avatar asked Aug 11 '12 19:08

zduny


1 Answers

It would limit the use for ItemCollection.Groups in the future. Right now all elements might always be CollectionViewGroup and if you need to use the interface you can cast objects to an instance of CollectionViewGroup.

like image 195
MrFox Avatar answered Oct 13 '22 19:10

MrFox