ComponentOne DataGrid for WPF and Silverlight
SortChanging Event (C1DataGrid)

C1.Silverlight.DataGrid Namespace > C1DataGrid Class : SortChanging Event
Occurs before the sorting state of C1DataGrid is changed.
Syntax
'Declaration
 
Public Event SortChanging As System.EventHandler(Of DataGridSortChangingEventArgs)
public event System.EventHandler<DataGridSortChangingEventArgs> SortChanging
Event Data

The event handler receives an argument of type DataGridSortChangingEventArgs containing data related to this event. The following DataGridSortChangingEventArgs properties provide information specific to this event.

PropertyDescription
(Inherited from C1.Silverlight.CancelEventArgs)
Gets the columns will be sorted if this event is not cancelled.  
Remarks
Sorting state changes when user click in a column header or when the SortBy method is called.
See Also