C1.WPF.DataGrid Namespace > C1DataGrid Class : SortChanging Event |
'Declaration
Public Event SortChanging As System.EventHandler(Of DataGridSortChangingEventArgs)
public event System.EventHandler<DataGridSortChangingEventArgs> SortChanging
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.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
ChangingColumns | Gets the columns will be sorted if this event is not cancelled. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2