Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MaximumSize Property

UpDownBase.MaximumSize Property

Gets or sets the maximum size of the spin box (also known as an up-down control).

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

public override Size MaximumSize { get; set; }

Property Value

Type: System.Drawing.Size
The Size, which is the maximum size of the spin box.

Regardless of the specified value, the Height of the maximum size will always be 0.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft