Gets or sets a custom object that implements IComparer to sort items in the view.
Public Property CustomSort As IComparer
Dim instance As ListCollectionView Dim value As IComparer value = instance.CustomSort instance.CustomSort = value
public IComparer CustomSort { get; set; }
public: property IComparer^ CustomSort { IComparer^ get (); void set (IComparer^ value); }
public function get CustomSort () : IComparer public function set CustomSort (value : IComparer)
You cannot set this property in XAML.
Setting this property causes an immediate refresh unless a DeferRefresh is in effect.
Setting this property clears a previously set SortDescriptions value.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003