ItemCollection.GroupDescriptions Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mendapatkan kumpulan GroupDescription objek yang menentukan cara mengelompokkan item.
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)
Nilai Properti
Sebuah ObservableCollection<T>GroupDescription objek. Koleksi diindeks oleh tingkat grup.
Contoh
Untuk contoh terkait, lihat PropertyGroupDescription.
Keterangan
CanGroup Gunakan properti untuk menguji apakah implementasi saat ini mendukung pengelompokan sebelum menambahkan GroupDescription objek.
Nota
Properti ini hanya dapat diatur dengan mengakses objek koleksi dan menggunakan berbagai metodenya, seperti Add. Properti untuk mengakses objek koleksi bersifat baca-saja, sementara koleksi itu sendiri adalah baca-tulis.