Skip to content

GridViewColumn<TItem>.SortComparer property

Gets or sets the item comparer used when this column is sorted; null makes the column non-sortable.

public IComparer<TItem>? SortComparer { get; set; }

Fluent: .SortWith(IComparer<TItem>)