Bahasa

CollectionViewSource.SortDescriptions Properti

Definisi

Mendapatkan atau mengatur kumpulan SortDescription objek yang menjelaskan bagaimana item dalam koleksi diurutkan dalam tampilan.

public:
 property System::ComponentModel::SortDescriptionCollection ^ SortDescriptions { System::ComponentModel::SortDescriptionCollection ^ get(); };
public System.ComponentModel.SortDescriptionCollection SortDescriptions { get; }
member this.SortDescriptions : System.ComponentModel.SortDescriptionCollection
Public ReadOnly Property SortDescriptions As SortDescriptionCollection

Nilai Properti

Kumpulan SortDescription objek yang menjelaskan bagaimana item dalam koleksi diurutkan dalam tampilan.

Keterangan

Properti ini diteruskan ke tampilan koleksi apa pun yang dibuat dari sumber saat ini.

Penggunaan Elemen Properti XAML

<object>
  <object.SortDescriptions>
    oneOrMoreSortDescriptions
  </object.SortDescriptions>
</object>

Nilai XAML

oneOrMoreSortDescriptions Satu atau beberapa SortDescription elemen.

Berlaku untuk