CollectionView.Groups Property


Gets a collection of the top-level groups that is constructed based on the GroupDescriptions property.

 virtual property System::Collections::ObjectModel::ReadOnlyObservableCollection<System::Object ^> ^ Groups { System::Collections::ObjectModel::ReadOnlyObservableCollection<System::Object ^> ^ get(); };
public virtual System.Collections.ObjectModel.ReadOnlyObservableCollection<object> Groups { get; }
member this.Groups : System.Collections.ObjectModel.ReadOnlyObservableCollection<obj>
Public Overridable ReadOnly Property Groups As ReadOnlyObservableCollection(Of Object)

Property Value

null in all cases.



The value of this property is always null because the CollectionView class does not support grouping over its underlying collection. The derived classes ListCollectionView and BindingListCollectionView do support grouping.

Applies to