Export (0) Print
Expand All

MonthCalendar.SingleMonthSize Property

Gets the minimum size to display one month of the calendar.

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

[BrowsableAttribute(false)]
public Size SingleMonthSize { get; }

Property Value

Type: System.Drawing.Size
The size, in pixels, necessary to fully display one month in the calendar.

ExceptionCondition
InvalidOperationException

The dimensions cannot be retrieved.

The size information is presented in the form of the Width and Height members, representing the minimum width and height required to display one month in the control. The minimum required window size for a month calendar control depends on the currently selected font.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft