WebGrid.SortDirectionFieldName Property

Gets the full name of the query-string field that is used to specify the sort direction of the WebGrid instance.

Namespace:  System.Web.Helpers
Assembly:  System.Web.Helpers (in System.Web.Helpers.dll)

Syntax

'Declaration
Public ReadOnly Property SortDirectionFieldName As String 
    Get
'Usage
Dim instance As WebGrid 
Dim value As String 

value = instance.SortDirectionFieldName
public string SortDirectionFieldName { get; }
public:
property String^ SortDirectionFieldName {
    String^ get ();
}
member SortDirectionFieldName : string
function get SortDirectionFieldName () : String

Property Value

Type: System.String
The full name of the query string field that is used to specify the sort direction of the grid.

Remarks

The full name of a query string field is formed by prepending the value of the FieldNamePrefix property to the value of the specified field name property. The value of the field name properties and the value of the FieldNamePrefix property are set when the WebGrid object is instantiated by using the WebGrid(IEnumerable<Object>, IEnumerable<String>, String, Int32, Boolean, Boolean, String, String, String, String, String, String, String) constructor and cannot be changed later.

See Also

Reference

WebGrid Class

System.Web.Helpers Namespace