CollectionView.GroupDescriptions 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个对象集合,该集合 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 该类不支持对其基础集合进行分组。 派生类 ListCollectionView 并 BindingListCollectionView 支持分组。