ListViewByQuery.DisableSort property

Gets or sets a Boolean value that specifies whether to disable sorting items in the list view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool DisableSort { get; set; }

Property value

Type: System.Boolean
true to disable sorting; otherwise, false. The default value is false.
Show: