ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 515
نمايش فراداده

CalendarDesignerdisposable

System.Web.UI.Design.WebControls (system.design.dll)class

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 ); }

Hierarchy

System.Object System.ComponentModel.Design.ComponentDesigner(System.ComponentModel. Design.IDesigner,System.IDisposable, System.ComponentModel.Design.IDesignerFilter) System.Web.UI.Design.HtmlControlDesigner System.Web.UI.Design.ControlDesigner CalendarDesigner