Export (0) Print
Expand All

ControlBuilder Members

ControlBuilder overview

Public Constructors

public constructorControlBuilder Constructor Initializes a new instance of the ControlBuilder class.

Public Properties

public propertyControlType Gets the Type for the control to be created.
public propertyHasAspCode Gets a value indicating whether the control contains any code blocks.
public propertyID Gets or sets the identifier property for the control to be built.
public propertyTagName Gets the tag name for the control to be built.

Public Methods

public methodAllowWhitespaceLiterals Determines whether the white space literals in the control must be processed or ignored.
public methodAppendLiteralString Adds literal content to a control.
public methodAppendSubBuilder Adds builders to the ControlBuilder object for any child controls that belong to the container control.
public methodCloseControl Called by the parser to inform the builder that the parsing of the control is complete.
public methodstatic (Shared in Visual Basic)CreateBuilderFromType Creates a ControlBuilder object for the specified tag.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetChildControlType Obtains the Type for the control's children.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodHasBody Determines if a control has both an opening and closing tag.
public methodHtmlDecodeLiterals Determines whether the literal string of an HTML control must be HTML decoded.
public methodInit Initializes the control builder when a Web request is made.
public methodNeedsTagInnerText Determines if the control builder needs to get its inner text. If so, the SetTagInnerText method must be called.
public methodOnAppendToParentBuilder Notifies the ControlBuilder that it is being added to a parent control builder.
public methodSetTagInnerText Provides the ControlBuilder with the inner text of the control tag.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Properties

protected propertyFChildrenAsProperties Determines whether the control has a ParseChildrenAttribute with ChildrenAsProperties set to true.
protected propertyFIsNonParserAccessor Determines whether the control implements the IParserAccessor interface.
protected propertyInDesigner Returns whether the ControlBuilder is running in the designer.
protected propertyParser Gets the TemplateParser responsible for parsing the control.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ControlBuilder Class | System.Web.UI Namespace

Show:
© 2015 Microsoft