Using the NumericUpDown Control

The NumericUpDown control is a simple way to give the user a way to select a number that falls between a minimum and a maximum value. The control can accept only integers, and decimal values will be truncated as opposed to rounded. On the Pocket PC, the maximum value cannot be greater than that of a 16-bit signed integer.

The NumericUpDown control is controlled by four integer properties: Minimum, Maximum, Value, and Increment. The Minimum and Maximum properties define the minimum and maximum values of the control. The Value property is the current value of the control. The Increment property defines the amount by which the current value is incremented or decremented when the user clicks the up or down arrow buttons. ...

Get Microsoft® .NET Compact Framework Kick Start now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.