Version

SortDirection Enumeration

Used to specify the method that should be used to sort the column for initial sort.
Syntax
'Declaration
 
Public Enum SortDirection 
   Inherits System.Enum
public enum SortDirection : System.Enum 
Members
MemberDescription
AscendingAscending. The column should be sorted in ascending order.
DefaultDefault. The column should be sorted in ascending order.
DescendingDescending. The column should be sorted in descending order.
Remarks

The SortDirection enum is used for specifying the Column's UltraGridColumn.InitialSortDirection property. To allow the user to sort the columns set the UltraGridOverride.HeaderClickAction property of the Override object to SortSingle or SortMulti. This will allow the user to sort rows by a column by clicking on the column's header. To sort the rows by one or more columns in code, add the columns to the Band's UltraGridBand.SortedColumns collection.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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