Control.TemplateControl Propiedad

Definición

Obtiene o establece una referencia a la plantilla que contiene este 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

Valor de propiedad

Instancia de TemplateControl que contiene este control.

Atributos

Comentarios

Cuando una Control instancia forma parte de una plantilla de control, la TemplateControl propiedad contiene una referencia al control contenedor. Para obtener más información, consulte la documentación de System.Web.UI.TemplateControl .

Se aplica a