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))].

public sealed class ControlBuilderAttribute : Attribute {
// Public Constructors
   public ControlBuilderAttribute(Type builderType);
// Public Static Fields
   public static readonly ControlBuilderAttribute Default; // =System.Web.UI.ControlBuilderAttribute
// Public Instance Properties
   public Type BuilderType{get; }
// Public Instance Methods
   public override bool Equals(object obj);  // overrides Attribute
   public override int GetHashCode( );               // overrides Attribute
   public override bool IsDefaultAttribute( );       // overrides Attribute


System.Object System.Attribute ControlBuilderAttribute

Valid On


    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace