Gets the direction of the sort.

Namespace:  C1.Web.UI.Controls.C1GridView
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
[JsonAttribute(true, true, C1SortDirection.NotSet)]
[DefaultValueAttribute(C1SortDirection.NotSet)]
public C1SortDirection SortDirection { get; set; }
Visual Basic
<JsonAttribute(True, True, C1SortDirection.NotSet)> _
<DefaultValueAttribute(C1SortDirection.NotSet)> _
Public Property SortDirection As C1SortDirection
	Get
	Set

Field Value

One of the C1SortDirection values. The default value is NotSet.

Remarks

This property provides a convenient method of tracking the column sort state when the grid is sorted.

See Also