MonthCalendar.SingleMonthSize Property

Definition

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

C#
[System.ComponentModel.Browsable(false)]
public System.Drawing.Size SingleMonthSize { get; }

Property Value

The size, in pixels, necessary to fully display one month in the calendar.

Attributes

Exceptions

The dimensions cannot be retrieved.

Remarks

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.

Applies to

Produto Versões
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also