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.

public:
 property System::Web::UI::WebControls::TableItemStyle ^ SortedAscendingHeaderStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle SortedAscendingHeaderStyle { get; }
member this.SortedAscendingHeaderStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property SortedAscendingHeaderStyle As TableItemStyle

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