ControlBuilderInterceptor::PreControlBuilderInit Method (ControlBuilder^, TemplateParser^, ControlBuilder^, Type^, String^, String^, IDictionary^, IDictionary^)

.NET Framework (current version)
 

Called before the ControlBuilder of an element in the markup is initialized.

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

public:
virtual void PreControlBuilderInit(
	ControlBuilder^ controlBuilder,
	TemplateParser^ parser,
	ControlBuilder^ parentBuilder,
	Type^ type,
	String^ tagName,
	String^ id,
	IDictionary^ attributes,
	IDictionary^ additionalState
)

Parameters

controlBuilder
Type: System.Web.UI::ControlBuilder^

The control builder which is about to be initialized.

parser
Type: System.Web.UI::TemplateParser^

The TemplateParser which was used to parse the markup.

parentBuilder
Type: System.Web.UI::ControlBuilder^

The parent control builder.

type
Type: System::Type^

The type of the control that this builder will create.

tagName
Type: System::String^

The name of the tag to be built.

id
Type: System::String^

The ID of the element in the markup.

attributes
Type: System.Collections::IDictionary^

The list of attributes of the element in the markup.

additionalState
Type: System.Collections::IDictionary^

The additional state which can be used to store and retrieve data within several methods of the ControlBuilderInterceptor class.

The parentBuilder parameter is typically the builder corresponding to the parent element in the markup.

.NET Framework
Available since 4.5
Return to top
Show: