DateTimePicker.PreferredHeight DateTimePicker.PreferredHeight DateTimePicker.PreferredHeight DateTimePicker.PreferredHeight Property

Definition

Gets the preferred height of the DateTimePicker control.

public:
 property int PreferredHeight { int get(); };
[System.ComponentModel.Browsable(false)]
public int PreferredHeight { get; }
member this.PreferredHeight : int
Public ReadOnly Property PreferredHeight As Integer

Property Value

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

Remarks

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

Applies to