Control.TemplateControl プロパティ
定義
このコントロールを格納しているテンプレートへの参照を取得または設定します。Gets or sets a reference to the template that contains this control.
public:
property System::Web::UI::TemplateControl ^ TemplateControl { System::Web::UI::TemplateControl ^ get(); void set(System::Web::UI::TemplateControl ^ value); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public System.Web.UI.TemplateControl TemplateControl { get; set; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.TemplateControl : System.Web.UI.TemplateControl with get, set
Public Property TemplateControl As TemplateControl
プロパティ値
このコントロールを格納している TemplateControl インスタンス。The TemplateControl instance that contains this control.
- 属性
注釈
Controlインスタンスがコントロールテンプレートの一部である場合、プロパティには、格納している TemplateControl コントロールへの参照が格納されます。When a Control instance is part of a control template, the TemplateControl property contains a reference to the containing control. 詳細については、System.Web.UI.TemplateControl のドキュメントを参照してください。For more information, see the System.Web.UI.TemplateControl documentation.