This class provides basic functionality for all ASP.NET control designers. If you want to create your own control designer, inherit instead from ControlDesigner, which derives from HtmlControlDesigner.
public class HtmlControlDesigner : System.ComponentModel.Design.ComponentDesigner { // Public Constructors public HtmlControlDesigner( ); // Public Instance Properties public IHtmlControlDesignerBehavior Behavior{set; get; } public DataBindingCollection DataBindings{get; } public virtual bool ShouldCodeSerialize{set; get; } // Protected Instance Properties protected object DesignTimeElement{get; } // Public Instance Methods public virtual void OnSetParent( ); // Protected Instance Methods protected override void Dispose(bool disposing); // overrides System.ComponentModel.Design.ComponentDesigner protected virtual void OnBehaviorAttached( ); protected virtual void OnBehaviorDetaching( ); protected virtual void OnBindingsCollectionChanged(string propName); protected override void PreFilterEvents(System.Collections.IDictionary events); // overrides System.ComponentModel.Design.ComponentDesigner protected override void PreFilterProperties(System.Collections.IDictionary properties); // overrides System.ComponentModel.Design.ComponentDesigner }