Control.TemplateControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The TemplateControl instance that contains this control.
- Attributes
Remarks
When a Control instance is part of a control template, the TemplateControl property contains a reference to the containing control. For more information, see the System.Web.UI.TemplateControl documentation.
Applies to
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.