ComponentOne FlexGrid for WinForms
SortColumn Property

C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : SortColumn Property
Gets a reference to the column that defines the current sort applied to the grid.
Public ReadOnly Property SortColumn As Column
public Column SortColumn {get;}

The grid may be sorted by a call to the Sort(SortFlags,Int32) method, by a user clicking a column header, or as a result of sorting applied directly to the object that is being used as the grid's DataSource.

To determine the current sort direction, use the sorted column's Column.Sort property.

If the grid is not currently sorted, this property returns null.

See Also


C1FlexGridBase Class
C1FlexGridBase Members