NumericUpDown Control (Windows Forms)
The Windows Forms
NumericUpDown control looks like a combination of a text box and a pair of arrows that the user can click to adjust a value. The control displays and sets a single numeric value from a list of choices. The user can increase and decrease the number by clicking up and down buttons, by pressing the UP and DOWN ARROW keys, or by typing a number. Clicking the UP ARROW key moves the value toward its maximum; clicking the DOWN ARROW key moves the position toward the minimum. An example where this kind of control might be useful is for a volume control on a music player. Numeric up-down controls are used in some Windows control panel applications.
In This Section
NumericUpDown Control Overview
Introduces the general concepts of the
NumericUpDown control, which allows users to browse through and select from a list of numeric values.
How to: Set and Return Numeric Values with the Windows Forms NumericUpDown Control
Describes how to test for the value of the control.
How to: Set the Format for the Windows Forms NumericUpDown Control
Describes how to configure how values are displayed in the control.
Controls to Use on Windows Forms
Provides a complete list of Windows Forms controls, with links to information on their use.