DefaultSize Property

MonthCalendar.DefaultSize Property


Gets the default size of the calendar.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

protected override Size DefaultSize { get; }

Property Value

Type: System.Drawing.Size

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

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

.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft