ComponentOne DataGrid for WPF and Silverlight
SortChanged Event (C1DataGrid)

C1.WPF.DataGrid Namespace > C1DataGrid Class : SortChanged Event
Occurs after the sorting state changed.
Syntax
'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.

PropertyDescription
Gets currently sorted columns.  
Gets previously sorted columns.  
Remarks
Sorting state changes when user click in a column header or when the SortBy method is called.
See Also