ExpressionBuilderContext::TemplateControl Property

 

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

Namespace:   System.Web.Compilation
Assembly:  System.Web (in System.Web.dll)

public:
property TemplateControl^ TemplateControl {
	TemplateControl^ get();
}

Property Value

Type: System.Web.UI::TemplateControl^

The TemplateControl that contains this expression.

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.

.NET Framework
Available since 2.0
Return to top
Show: