ComponentOne FlexGrid for WinForms
Sort Property

C1.Win.C1FlexGrid Namespace > Column Class : Sort Property
Specifies how this column should be sorted when the Sort(SortFlags,Int32) method is called with a SortFlags.UseColSort flag.
Public Property Sort As SortFlags
public SortFlags Sort {get; set;}
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.
See Also


Column Class
Column Members