This documentation is archived and is not being maintained.

NumericUpDown.UpButton Method

Increments the value of the up-down control.

[Visual Basic]
Overrides Public Sub UpButton()
public override void UpButton();
public: void UpButton();
public override function UpButton();


When the UpButton method is called, either in code or by the click of the up button, the new value is validated and the control is updated with the new value in the appropriate format. Specifically, if UserEdit is set to true, ParseEditText is called prior to validating or updating the value. The value is then validated to be between the Minimum and Maximum values and the UpdateEditText method is called.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

NumericUpDown Class | NumericUpDown Members | System.Windows.Forms Namespace | DownButton | Minimum | Maximum | ParseEditText | UpdateEditText