GroupDescription.CustomSort Property

Definition

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

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

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