次の方法で共有


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

注意 (継承者)

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

適用対象