'Declaration Public Event ColumnSorted As EventHandler(Of SortedColumnEventArgs)
public event EventHandler<SortedColumnEventArgs> ColumnSorted
The event handler receives an argument of type SortedColumnEventArgs containing data related to this event. The following SortedColumnEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Column (Inherited from Infragistics.Controls.Grids.ColumnEventArgs) | The ColumnEventArgs.Column that this event was triggered for. |
PreviousSortDirection | Gets the SortDirectionthat was previously applied. |
Private Sub MyGrid_ColumnSorted(ByVal sender As System.Object, ByVal e As SortedColumnEventArgs) System.Diagnostics.Debug.WriteLine("Column sorted successfully") End Sub
private void MyGrid_ColumnSorted(object sender, SortedColumnEventArgs e) { System.Diagnostics.Debug.WriteLine("Column successfully sorted"); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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