DetailsView.TagKey プロパティ

定義

DetailsView コントロールの 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

プロパティ値

EnablePagingCallbackstrue の場合、このプロパティは Div を返します。 それ以外の場合は Tableを返します。

注釈

TagKeyプロパティを使用すると、出力ストリームはコントロールに適した HTML マークアップをDetailsView書き込みます。

注意 (継承者)

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

適用対象