WebGrid.CanSort Property
Gets a value that indicates whether the WebGrid instance supports sorting.
Namespace: System.Web.Helpers
Assembly: System.Web.Helpers (in System.Web.Helpers.dll)
Syntax
'Declaration
Public ReadOnly Property CanSort As Boolean
Get
'Usage
Dim instance As WebGrid
Dim value As Boolean
value = instance.CanSort
public bool CanSort { get; }
public:
property bool CanSort {
bool get ();
}
member CanSort : bool
function get CanSort () : boolean
Property Value
Type: System.Boolean
true if the instance supports sorting; otherwise, false.
Remarks
If this property is set to true, users can sort the contents of the grid by clicking column headers.