ControlBuilderInterceptor.PreControlBuilderInit(ControlBuilder, TemplateParser, ControlBuilder, Type, String, String, IDictionary, IDictionary) ControlBuilderInterceptor.PreControlBuilderInit(ControlBuilder, TemplateParser, ControlBuilder, Type, String, String, IDictionary, IDictionary) ControlBuilderInterceptor.PreControlBuilderInit(ControlBuilder, TemplateParser, ControlBuilder, Type, String, String, IDictionary, IDictionary) Method

Definition

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

public:
 virtual void PreControlBuilderInit(System::Web::UI::ControlBuilder ^ controlBuilder, System::Web::UI::TemplateParser ^ parser, System::Web::UI::ControlBuilder ^ parentBuilder, Type ^ type, System::String ^ tagName, System::String ^ id, System::Collections::IDictionary ^ attributes, System::Collections::IDictionary ^ additionalState);
public virtual void PreControlBuilderInit (System.Web.UI.ControlBuilder controlBuilder, System.Web.UI.TemplateParser parser, System.Web.UI.ControlBuilder parentBuilder, Type type, string tagName, string id, System.Collections.IDictionary attributes, System.Collections.IDictionary additionalState);
abstract member PreControlBuilderInit : System.Web.UI.ControlBuilder * System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary * System.Collections.IDictionary -> unit
override this.PreControlBuilderInit : System.Web.UI.ControlBuilder * System.Web.UI.TemplateParser * System.Web.UI.ControlBuilder * Type * string * string * System.Collections.IDictionary * System.Collections.IDictionary -> unit

Parameters

controlBuilder
ControlBuilder ControlBuilder ControlBuilder

The control builder which is about to be initialized.

parser
TemplateParser TemplateParser TemplateParser

The TemplateParser which was used to parse the markup.

parentBuilder
ControlBuilder ControlBuilder ControlBuilder

The parent control builder.

type
Type Type Type

The type of the control that this builder will create.

tagName
String String String

The name of the tag to be built.

id
String String String

The ID of the element in the markup.

attributes
IDictionary IDictionary IDictionary

The list of attributes of the element in the markup.

additionalState
IDictionary IDictionary IDictionary

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

Remarks

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

Applies to