C1.WPF.DataGrid Namespace > C1DataGrid Class : SortChanged Event |
'Declaration
Public Event SortChanged As System.EventHandler(Of DataGridSortChangedEventArgs)
public event System.EventHandler<DataGridSortChangedEventArgs> SortChanged
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. |
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