DateTimePicker::PreferredHeight Property

 

Gets the preferred height of the DateTimePicker control.

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

public:
[BrowsableAttribute(false)]
property int PreferredHeight {
	int get();
}

Property Value

Type: System::Int32

The preferred height, in pixels, of the DateTimePicker control.

The preferred height is the minimum height needed to accommodate the displayed text with the assigned Font applied.

.NET Framework
Available since 1.1
Return to top
Show: