Export (0) Print
Expand All

ControlBuilderInterceptor.PreControlBuilderInit Method

.NET Framework 4.6 and 4.5

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft