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; }
member this.SortedDescendingHeaderStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property SortedDescendingHeaderStyle As TableItemStyle

属性值

如果按降序对列进行排序时向 true 标题应用了样式,则为 GridView;否则为 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.

适用于