[]
Fires after a column is sorted by a click on a column header.
public event SortColEventHandler AfterSort
Type | Description |
---|---|
SortColEventHandler | Fires after a column is sorted by a click on a column header. |
This event only fires if the sorting was caused by a click on a column header cell (see the AllowSorting property). It does not fire after sorting with the Sort(SortFlags, int) method.
This event is useful if you want to update user interface elements to reflect the new sorting. To prevent certain columns from being sorted, or to alter their default sorting order, use the AllowSorting or handle the BeforeSort event.