Bagikan melalui


ListCollectionView.CustomSort Properti

Definisi

Mendapatkan atau mengatur objek kustom yang mengimplementasikan IComparer untuk mengurutkan item dalam tampilan.

public:
 property System::Collections::IComparer ^ CustomSort { System::Collections::IComparer ^ get(); void set(System::Collections::IComparer ^ value); };
public System.Collections.IComparer CustomSort { get; set; }
member this.CustomSort : System.Collections.IComparer with get, set
Public Property CustomSort As IComparer

Nilai Properti

Kriteria pengurutan sebagai implementasi dari IComparer.

Keterangan

Mengatur properti ini menyebabkan refresh segera kecuali berlaku DeferRefresh .

Mengatur properti ini menghapus nilai yang ditetapkan SortDescriptions sebelumnya.

Berlaku untuk

Lihat juga