Property Value
Value
Gets or sets the value assigned to the spin box (also known as an up-down control).
public virtual int Value { get; set; }
Property Value
- int
The numeric value of the NumericUpDown control.
Remarks
When the Value property is set, the new value is validated to be between the Minimum and Maximum values.
Exceptions
- ArgumentOutOfRangeException
The value specified is greater than the value of the Maximum property or the value specified is less than the value of the Minimum property.