FlexGrid for WinForms
Sort Property



Specifies how this column should be sorted when the Sort(SortFlags,Int32) method is called with a SortFlags.UseColSort flag.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DefaultValueAttribute()>
Public Property Sort As SortFlags
'Usage
 
Dim instance As Column
Dim value As SortFlags
 
instance.Sort = value
 
value = instance.Sort
[Browsable(false)]
[DefaultValue()]
public SortFlags Sort {get; set;}
[Browsable(false)]
[DefaultValue()]
public:
property SortFlags Sort {
   SortFlags get();
   void set (    SortFlags value);
}
Remarks
Use this property when you want to sort multiple columns in different orders. For example, you could set the Sort property to SortFlags.Ascending for columns 1, 2, and 3, and to SortFlags.Descending for columns 4, 5, and 6. You would then call the grid's Sort(SortFlags,Int32) method with the sort parameter set to SortFlags.UseColSort to perform the sort using the order specified for each column.
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

Column Class
Column Members

 

 


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

Send Feedback