.NET Framework Class Library
GridView.SortedDescendingCellStyle Property
Gets or sets the style of a GridView column when the column is sorted in descending order.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic
<PersistenceModeAttribute(PersistenceMode.InnerProperty)> _ Public ReadOnly Property SortedDescendingCellStyle As TableItemStyle
C#
[PersistenceModeAttribute(PersistenceMode.InnerProperty)] public TableItemStyle SortedDescendingCellStyle { get; }
Visual C++
[PersistenceModeAttribute(PersistenceMode::InnerProperty)] public: property TableItemStyle^ SortedDescendingCellStyle { TableItemStyle^ get (); }
F#
[<PersistenceModeAttribute(PersistenceMode.InnerProperty)>]
member SortedDescendingCellStyle : TableItemStyle
Property Value
Type: System.Web.UI.WebControls.TableItemStyletrue if a style is applied to the GridView when the column is sorted in descending 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 descending order. For example, the column can be highlighted with a specific color when the sort type is descending.
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