ListCollectionView.CustomSort Property

Gets or sets a custom object that implements IComparer to sort items in the view.

Namespace:  System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public IComparer CustomSort { get; set; }

Property Value

Type: System.Collections.IComparer
The sort criteria as an implementation of IComparer.

Setting this property causes an immediate refresh unless a DeferRefresh is in effect.

Setting this property clears a previously set SortDescriptions value.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft