System.Web.UI.ControlBuilder Members

The members of System.Web.UI.ControlBuilder are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Web.UI.ControlBuilder class.

Public Properties

[read-only]
BindingContainerTypeType.

Gets the type of the binding container for the control that this builder creates.

[read-only]
ControlTypeType.

Gets the Type for the control to be created.

[read-only]
HasAspCodebool.

Gets a value indicating whether the control contains any code blocks.

IDstring.

Gets or sets the identifier property for the control to be built.

[read-only]
NamingContainerTypeType.

Gets the type of the naming container for the control that this builder creates.

[read-only]
TagNamestring.

Gets the tag name for the control to be built.

Protected Properties

[read-only]
FChildrenAsPropertiesbool.

Gets a value that determines whether the control has a System.Web.UI.ParseChildrenAttribute with ParseChildrenAttribute.ChildrenAsProperties set to true.

[read-only]
FIsNonParserAccessorbool.

Gets a value that determines whether the control implements the System.Web.UI.IParserAccessor interface.

[read-only]
InDesignerbool.

Returns whether the System.Web.UI.ControlBuilder is running in the designer.

[read-only]
ParserTemplateParser.

Gets the System.Web.UI.TemplateParser responsible for parsing the control.

Public Methods

AllowWhitespaceLiterals() : bool

Determines whether white space literals are permitted in the content between a control's opening and closing tags. This method is called by the ASP.NET page framework.

AppendLiteralString(string)

Adds the specified literal content to a control. This method is called by the ASP.NET page framework.

AppendSubBuilder(ControlBuilder)

Adds builders to the System.Web.UI.ControlBuilder object for any child controls that belong to the container control.

BuildObject() : object

Builds a design-time instance of the control that is referred to by this System.Web.UI.ControlBuilder object.

CloseControl()

Called by the parser to inform the builder that the parsing of the control's opening and closing tags is complete.

static
CreateBuilderFromType(TemplateParser, ControlBuilder, Type, string, string, IDictionary, int, string) : ControlBuilder

Creates a System.Web.UI.ControlBuilder object from the specified tag name and object type, as well as other parameters defining the builder.

GetChildControlType(string, IDictionary) : Type

Obtains the Type of the control type corresponding to a child tag. This method is called by the ASP.NET page framework.

HasBody() : bool

Determines if a control has both an opening and closing tag. This method is called by the ASP.NET page framework.

HtmlDecodeLiterals() : bool

Determines whether the literal string of an HTML control must be HTML decoded. This method is called by the ASP.NET page framework.

Init(TemplateParser, ControlBuilder, Type, string, string, IDictionary)

Initializes the System.Web.UI.ControlBuilder for use after it is instantiated. This method is called by the ASP.NET page framework.

NeedsTagInnerText() : bool

Determines if the control builder needs to get its inner text. If so, the ControlBuilder.SetTagInnerText(string) method must be called. This method is called by the ASP.NET page framework.

OnAppendToParentBuilder(ControlBuilder)

Notifies the System.Web.UI.ControlBuilder that it is being added to a parent control builder.

SetTagInnerText(string)

Provides the System.Web.UI.ControlBuilder with the inner text of the control tag.