This class provides the design-time representation for the System.Web.UI.WebControls.Calendar control. It works in conjunction with the CalendarAutoFormatDialog class to provide an "auto format" window, adding a special verb to the context menu and responding to format changes by updating the corresponding properties.
public class CalendarDesigner : System.Web.UI.Design.ControlDesigner { // Public Constructors public CalendarDesigner( ); // Public Instance Properties public override DesignerVerbCollection Verbs{get; } // overrides System.ComponentModel.Design.ComponentDesigner// Public Instance Methods public override void Initialize(System.ComponentModel.IComponent component); // overrides System.Web.UI.Design.ControlDesigner// Protected Instance Methods protected void OnAutoFormat(object sender, EventArgs e); }