GridView::SortDirection Property
.NET Framework (current version)
Gets the sort direction of the column being sorted.
Assembly: System.Web (in System.Web.dll)
public: [BrowsableAttribute(false)] [PersistenceModeAttribute(PersistenceMode::InnerProperty)] property SortDirection SortDirection { virtual SortDirection get(); }
Property Value
Type: System.Web.UI.WebControls::SortDirectionOne of the SortDirection values. The default is SortDirection.Ascending.
Use the SortDirection property to determine whether the column being sorted is sorted in ascending or descending order.
.NET Framework
Available since 2.0
Available since 2.0
Show:
