Share via


MonthCalendar.Height Property

Definition

Gets or sets the height of the MonthCalendar.

public:
 property double Height { double get(); void set(double value); };
public double Height { get; set; }
member this.Height : double with get, set
Public Property Height As Double

Property Value

The height of the MonthCalendar in points.

Examples

For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Height. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Height property.

Remarks

Changes made to the Height and Top property values cause the Bottom property value of the MonthCalendar to change.

The Microsoft.Office.Tools.Excel.Controls.MonthCalendar.Height property uses points, whereas System.Windows.Forms.Control.Height property uses pixels.

Applies to