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.
Assembly: System.Web (in System.Web.dll)
Public Overridable Sub PreControlBuilderInit ( controlBuilder As ControlBuilder, parser As TemplateParser, parentBuilder As ControlBuilder, type As Type, tagName As String, id As String, attributes As IDictionary, additionalState As IDictionary )
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
Available since 4.5
Show: