.NET Framework Class Library
GridView.SortedAscendingHeaderStyle Property
Gets or sets the CSS style to apply to a GridView column heading when the column is sorted in ascending order.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _ Public ReadOnly Property SortedAscendingHeaderStyle As TableItemStyle
C#
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public TableItemStyle SortedAscendingHeaderStyle { get; }
Visual C++
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] public: property TableItemStyle^ SortedAscendingHeaderStyle { TableItemStyle^ get (); }
F#
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member SortedAscendingHeaderStyle : TableItemStyle
Property Value
Type: System.Web.UI.WebControls.TableItemStyletrue if a style is applied to the GridView heading when the column is sorted in ascending order; otherwise, false.
Remarks
When this property is set to true, an arrow that indicates the sort direction is displayed in the column heading.
Version Information
.NET Framework
Supported in: 4Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also