GridView.SortedAscendingCellStyle Property (System.Web.UI.WebControls)

Switch View :
ScriptFree
.NET Framework Class Library
GridView.SortedAscendingCellStyle Property

Gets or sets the CSS style for a GridView column when the column is sorted in ascending order.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Syntax

Visual Basic
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _
Public ReadOnly Property SortedAscendingCellStyle As TableItemStyle
C#
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public TableItemStyle SortedAscendingCellStyle { get; }
Visual C++
[PersistenceModeAttribute(PersistenceMode::InnerProperty)]
public:
property TableItemStyle^ SortedAscendingCellStyle {
	TableItemStyle^ get ();
}
F#
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member SortedAscendingCellStyle : TableItemStyle

Property Value

Type: System.Web.UI.WebControls.TableItemStyle
true if a style is applied to the GridView control when the column is sorted in ascending order; otherwise, false.
Remarks

When this property is set to true, a style is applied to cells in the column when the data is sorted in ascending order. For example, the column can be highlighted with a specific color when the sort type is ascending.

Version Information

.NET Framework

Supported in: 4
Platforms

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

Reference