CollectionView.Groups 属性

定义

获取基于 GroupDescriptions 属性构造的顶级组的集合。

public:
 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)

属性值

null 在所有情况下。

实现

注解

此属性的值始终 null 是因为 CollectionView 该类不支持对其基础集合进行分组。 派生类 ListCollectionViewBindingListCollectionView 支持分组。

适用于