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
[C#]
protected override Size DefaultSize {get;}
[C++]
protected: __property Size get_DefaultSize();
[JScript]
protected override function get DefaultSize() : Size;

Property Value

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

Remarks

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

Requirements

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

Show: