Xceed Grid for WinForms v4.3 Documentation
SortedColumns Property (GridControl)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GridControl Class : SortedColumns Property
Gets a list of all the columns used to sort the grid.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
Public ReadOnly Property SortedColumns As SortedColumnList
'Usage
 
Dim instance As GridControl
Dim value As SortedColumnList
 
value = instance.SortedColumns
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public SortedColumnList SortedColumns {get;}

Property Value

A reference to a Xceed.Grid.Collections.SortedColumnList object containing a list of all the columns used to sort the grid.
Remarks

All columns whose SortDirection property has been set to Ascending or Descending are automatically added to the grid's collection or sorted columns. If a column's SortDirection property is set to None, the column will automatically be removed from the collection.

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

GridControl Class
GridControl Members