Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

NumericUpDown.UpButton Method

Increments the value of the up-down control.

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

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.