GridView.SortedAscendingCellStyle Właściwość

Definicja

Pobiera lub ustawia styl CSS dla GridView kolumny, gdy kolumna jest sortowana w kolejności rosnącej.

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

Wartość właściwości

TableItemStyle

true jeśli styl jest stosowany do kontrolki GridView , gdy kolumna jest sortowana w kolejności rosnącej; w przeciwnym razie false.

Atrybuty

Uwagi

Gdy ta właściwość jest ustawiona na true, styl jest stosowany do komórek w kolumnie, gdy dane są sortowane w kolejności rosnącej. Na przykład kolumna może być wyróżniona określonym kolorem, gdy typ sortowania jest rosnąco.

Dotyczy