Edytuj

Udostępnij za pośrednictwem


NumericUpDown.DownButton Method

Definition

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

public:
 override void DownButton();
public override void DownButton ();
override this.DownButton : unit -> unit
Public Overrides Sub DownButton ()

Remarks

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 is updated with the new value in the appropriate format. Specifically, if the UserEdit property is set to true, the ParseEditText method 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.

Applies to

See also