'Declaration
Public Event SortChanged As System.EventHandler(Of DataGridSortChangedEventArgs)
public event System.EventHandler<DataGridSortChangedEventArgs> SortChanged
Event Data
The event handler receives an argument of type DataGridSortChangedEventArgs containing data related to this event. The following DataGridSortChangedEventArgs properties provide information specific to this event.
Property | Description |
---|---|
NewSortedColumns | Gets currently sorted columns. |
OldSortedColumns | Gets previously sorted columns. |
Remarks
Sorting state changes when user click in a column header or when the SortBy method is called.
See Also