GridView.SortedAscendingCellStyle プロパティ

定義

列が昇順で並べ替えられた場合の GridView 列の CSS スタイルを取得または設定します。

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

プロパティ値

true 列が昇順で並べ替えられるときに GridView コントロールにスタイルが適用される場合は >。それ以外の場合は false

属性

注釈

このプロパティを true に設定すると、データが昇順で並べ替えられるときに、列のセルにスタイルが適用されます。 たとえば、並べ替えの種類が昇順の場合、列を特定の色で強調表示できます。

適用対象