System.Windows.Forms.UpDownBase.PreferredHeight Property

Gets the height of the spin box (also known as an up-down control).

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public int PreferredHeight { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The UpDownBase.PreferredHeight property value is based on the TextBoxBase.PreferredHeight property of the text box portion of the control and is adjusted for the style of border.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0