Redigera

Dela via


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; }
[<System.ComponentModel.Browsable(false)>]
member this.PreferredHeight : int
Public ReadOnly Property PreferredHeight As Integer

Property Value

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

Attributes

Remarks

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

Applies to