System.Web.UI.Control.TemplateControl Property

Gets or sets a reference to the template that contains this control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public TemplateControl TemplateControl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When a System.Web.UI.Control instance is part of a control template, the Control.TemplateControl property contains a reference to the containing control. For more information, see the System.Web.UI.TemplateControl documentation.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0