GridView.SortedDescendingCellStyle Property

Definition

Gets or sets the style of a GridView column when the column is sorted in descending order.

C#
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle SortedDescendingCellStyle { get; }

Property Value

true if a style is applied to the GridView when the column is sorted in descending order; otherwise, false.

Attributes

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.

Applies to

Produkt Verzie
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1