GridView.SortedAscendingHeaderStyle Property


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

 property System::Web::UI::WebControls::TableItemStyle ^ SortedAscendingHeaderStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
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.



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

Applies to