Edit

Share via


GroupDescription.CustomSort Property

Definition

Gets or sets a custom comparer that sorts groups using an object that implements IComparer.

C#
public System.Collections.IComparer CustomSort { get; set; }

Property Value

A custom comparer that sorts groups using an object that implements IComparer.

Remarks

Note

Setting the custom comparer object will clear previously set SortDescriptions.

Applies to

Product Versions
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10