This documentation is archived and is not being maintained.

MonthCalendar.DefaultSize Property

Gets the default size of the calendar.

[Visual Basic]
Overrides Protected ReadOnly Property DefaultSize As Size
protected override Size DefaultSize {get;}
protected: __property Size get_DefaultSize();
protected override function get DefaultSize() : Size;

Property Value

A Size specifying the height and width of the control in pixels.


The DefaultSize property includes the area necessary to display the "Today:" date display at the bottom of the calendar.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MonthCalendar Class | MonthCalendar Members | System.Windows.Forms Namespace | SingleMonthSize