FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / Column Class / Sort Property

In This Topic
    Sort Property (Column)
    In This Topic
    Specifies how this column should be sorted when the Sort(SortFlags,Int32) method is called with a SortFlags.UseColSort flag.
    Syntax
    'Declaration
     
    
    Public Property Sort As SortFlags
    public SortFlags Sort {get; set;}
    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.
    See Also