System.Web.UI.ControlBuilder Class

Supports the page parser in building a control and the child controls it contains.

See Also: ControlBuilder Members

Syntax

public class ControlBuilder

Remarks

By default, every control on a page is associated with a default System.Web.UI.ControlBuilder class. During parsing, the ASP.NET page framework builds a tree of System.Web.UI.ControlBuilder objects corresponding to the tree of controls for the page. The System.Web.UI.ControlBuilder tree is then used to generate page code to create the control tree. In addition to child controls, the System.Web.UI.ControlBuilder defines the behavior of how the content within control tags is parsed. You can override this default behavior by defining your own custom control builder class. This is done by applying a System.Web.UI.ControlBuilderAttribute attribute to your control builder class as follows:

[ControlBuilderAttribute(typeof(ControlBuilderType))]

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0