
ControlCollection | 645
UI Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Subclasses
Multiple types
Passed To
ObjectTagBuilder.{AppendSubBuilder( ), Init( )}
ControlBuilderAttribute
System.Web.UI (system.web.dll)
sealed class
This attribute specifies the control builder that a custom control should use. If you
want your control to use the standard control builder, you do not need to use this
attribute. If you have created a custom ControlBuilder class, you can instruct ASP.NET to
use it to create a control by adding this attribute to the control’s class declaration, as in
[ControlBuilder(typeOf(MyControlBuilder))].
Hierarchy
System.Object ➝ System.Attribute ➝ ControlBuilderAttribute
Valid On
Class
ControlCollection
System.Web.UI (system.web.dll)
class
This class represents a collection of controls. It allows pages and other controls to
specify their child controls (as with the Page.Controls Property).
// Public Instance Methods
public virtual bool AllowWhitespaceLiterals();
public virtual void AppendLiteralString( string s);
public virtual void AppendSubBuilder(ControlBuilder subBuilder);
public virtual void CloseControl();
public virtual Type GetChildControlType(string tagName, System.Collections.IDictionary attribs);
public virtual bool HasBody();
public virtual bool HtmlDecodeLiterals();
public virtual void Init(TemplateParser ...