GridView.SortedAscendingHeaderStyle Property

Definition

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

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

Property Value

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

Attributes

Remarks

When this property is set to true, an arrow that indicates the sort direction is displayed in the column heading.

Applies to

Product Versions
.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