This class provides the design-time representation of a System.Web.UI.WebControls.Button control, using an overridden GetDesignTimeHtml( ) method. If the System.Web.UI.WebControls.Button.Text property is empty, you will see the control's name displayed in square brackets.
public class ButtonDesigner : System.Web.UI.Design.ControlDesigner { // Public Constructors public ButtonDesigner( ); // Public Instance Methods public override string GetDesignTimeHtml( ); // overrides System.Web.UI.Design.ControlDesigner }