FlexGrid for WinForms
SortColumn Property



Gets a reference to the column that defines the current sort applied to the grid.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
Public ReadOnly Property SortColumn As Column
'Usage
 
Dim instance As C1FlexGridBase
Dim value As Column
 
value = instance.SortColumn
[Browsable(false)]
public Column SortColumn {get;}
[Browsable(false)]
public:
property Column^ SortColumn {
   Column^ get();
}
Remarks

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.

Requirements

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

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback