GridView.SortedDescendingHeaderStyle 属性

定义

获取或设置按降序对列进行排序时要应用于 GridView 列标题的样式。Gets or sets the style to apply to a GridView column heading when the column is sorted in descending order.

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

属性值

TableItemStyle

如果按降序对列进行排序时向 GridView 标题应用了样式,则为 true;否则为 falsetrue if a style is applied to the GridView heading when the column is sorted in descending order; otherwise, false.

属性

注解

如果此属性设置为 true ,则指示排序方向的箭头显示在列标题中。When this property is set to true, an arrow that indicates the sort direction is displayed in the column heading.

适用于