This documentation is archived and is not being maintained.

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

public override Size MaximumSize { get; set; }
/** @property */
public Size get_MaximumSize ()

/** @property */
public void set_MaximumSize (Size value)

public override function get MaximumSize () : Size

public override function set MaximumSize (value : Size)

Not applicable.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0