MonthCalendar.SingleMonthSize Property

Definition

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

public:
 property System::Drawing::Size SingleMonthSize { System::Drawing::Size get(); };
[System.ComponentModel.Browsable(false)]
public System.Drawing.Size SingleMonthSize { get; }
[<System.ComponentModel.Browsable(false)>]
member this.SingleMonthSize : System.Drawing.Size
Public ReadOnly Property SingleMonthSize As Size

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

See also