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

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


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.