ListCollectionView.CustomSort 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 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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.