Share via


GridView.SortedDescendingCellStyle 屬性

定義

取得或設定以遞減順序排序 GridView 資料行時,資料行的樣式。

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

屬性值

TableItemStyle

如果以遞減順序排序資料行時,有樣式套用至 GridView,則為 true,否則為 false

屬性

備註

當此屬性設定為 true 時,當資料以遞減順序排序時,樣式會套用至資料行中的資料格。 例如,當排序類型遞減時,可以使用特定色彩反白顯示資料行。

適用於