DateTimePicker.PreferredHeight Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the preferred height of the DateTimePicker control.

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

[BrowsableAttribute(false)]
public int PreferredHeight { 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: