[]
        
(Showing Draft Content)

C1.Win.FlexGrid.SortFlags

SortFlags Enum

Specifies how grid columns should be sorted.

Namespace: C1.Win.FlexGrid
Assembly: C1.Win.FlexGrid.8.dll
Syntax
[Flags]
public enum SortFlags
Remarks

This enumeration contains flags that can be combined to customize the sorting process.

Examples

For example, the code below sorts two grid columns ignoring case.

// C#
SortFlags order = SortFlags.Ascending | SortFlags.IgnoreCase;
_flex.Sort(order, col1, col2);

' VB
Dim order As SortFlags = SortFlags.Ascending Or SortFlags.IgnoreCase
_flex.Sort(order, col1, col2)

Fields

Name Description
AsDisplayed

Sort using the string representation of the data. In this mode, "100" appears before "2".

Ascending

Sort in ascending order.

Descending

Sort in descending order.

IgnoreCase

Ignore case when sorting strings.

None

Do not sort. This setting is useful for skipping certain columns when sorting column ranges.

UseColSort

Use the flags stored in the Sort property of individual Column objects.