ItemCollection.GroupDescriptions 屬性

定義

取得定義如何群組項目的 GroupDescription 物件集合。

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

屬性值

ObservableCollection<T> 物件的 GroupDescription。 集合依群組層級進行索引。

範例

如需相關範例,請參閱 PropertyGroupDescription

備註

CanGroup使用 屬性來測試目前實作是否支援在新增 GroupDescription 物件之前進行群組。

注意

這個屬性只能藉由存取集合物件並使用其各種方法來設定,例如 Add 。 存取集合物件的屬性是唯讀的,而集合本身是讀寫的。

適用於

另請參閱