Edit

Bagikan melalui


ExpressionBuilderContext.TemplateControl Property

Definition

Provides an ExpressionBuilder object with a reference to a TemplateControl object.

public:
 property System::Web::UI::TemplateControl ^ TemplateControl { System::Web::UI::TemplateControl ^ get(); };
public System.Web.UI.TemplateControl TemplateControl { get; }
member this.TemplateControl : System.Web.UI.TemplateControl
Public ReadOnly Property TemplateControl As TemplateControl

Property Value

The TemplateControl that contains this expression.

Remarks

An expression builder might require additional information about the containing page to evaluate or parse the expression value.

This also provides the ExpressionBuilder object with information regarding the page that might be required. When an instance of a control is part of a control template, the TemplateControl property contains a reference to the containing control. For more information, see TemplateControl.

Applies to

See also