System.Windows.Forms.NumericUpDown.DownButton Method

Decrements the value of the spin box (also known as an up-down control).

Syntax

public override void DownButton ()

Remarks

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

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0