GridView.TagKey プロパティ

定義

GridView コントロールの HtmlTextWriterTag 値を取得します。

protected:
 virtual property System::Web::UI::HtmlTextWriterTag TagKey { System::Web::UI::HtmlTextWriterTag get(); };
protected override System.Web.UI.HtmlTextWriterTag TagKey { get; }
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overrides ReadOnly Property TagKey As HtmlTextWriterTag

プロパティ値

HtmlTextWriterTag コントロールの GridView 値。

注釈

プロパティを TagKey 使用すると、出力ストリームはコントロールに適した HTML マークアップを GridView 書き込みます。 プロパティが EnableSortingAndPagingCallbackstrue設定されている場合、このプロパティは を返します HtmlTextWriterTag.Div。それ以外の場合、このプロパティは を返します HtmlTextWriterTag.Table

注意 (継承者)

このプロパティをオーバーライドして、派生コントロールに使用する HtmlTextWriterTag 値を指定できます。

適用対象

こちらもご覧ください