CollectionView.GroupDescriptions 属性

定义

获取一个对象集合,该集合 GroupDescription 描述集合中的项在视图中的分组方式。

public:
 virtual property System::Collections::ObjectModel::ObservableCollection<System::ComponentModel::GroupDescription ^> ^ GroupDescriptions { System::Collections::ObjectModel::ObservableCollection<System::ComponentModel::GroupDescription ^> ^ get(); };
public virtual System.Collections.ObjectModel.ObservableCollection<System.ComponentModel.GroupDescription> GroupDescriptions { get; }
member this.GroupDescriptions : System.Collections.ObjectModel.ObservableCollection<System.ComponentModel.GroupDescription>
Public Overridable ReadOnly Property GroupDescriptions As ObservableCollection(Of GroupDescription)

属性值

null 在所有情况下。

实现

注解

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

适用于

另请参阅