DownButton Method

NumericUpDown.DownButton Method

Decrements the value of the up-down control.

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


When the DownButton method is called, either in code or by the click of the down button, the new value is validated and the control 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 | UpButton | Minimum | Maximum | ParseEditText | UpdateEditText

© 2016 Microsoft