Version

InitialSortDirection Property (UltraGridOverride)

Returns or sets a value that determines in which direction the column will be sorted when the user clicks the column header and it was previously unsorted.
Syntax
'Declaration
 
Public Property InitialSortDirection As SortDirection
public SortDirection InitialSortDirection {get; set;}
Remarks

This property allows you to determine the initial sorting direction of the column when the user clicks on the header to sort a previously-unsorted column. By default, clicking on the headers of an unsorted column will initially sort the column ascending. But there may be cases where sorting descending is more common and so setting the InitialSortDirection can save the user some uneccessary clicks.

This property only applies when HeaderClickAction is set to one of the 'Sort' options.

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