Having trouble getting help?
Contact Support
Contact Support
Value Settings in Windows Forms NumericUpDown (NumericUpDownExt)
28 Apr 20211 minute to read
The various Values of the NumericUpDownExt control and their settings are given below.
NumericUpDownExt Properties | Description |
---|---|
Value | Gets / sets the value assigned to the spin box (also known as an up-down control). |
Hexadecimal | Gets / sets the value indicating whether the spin box (also known as an up-down control) should display the value it contains in hexadecimal format. |
HexValue | Gets the value in hexadecimal numeration. |
Minimum | Gets / sets the minimum allowed value for the spin box (also known as an up-down control). |
Increment | Gets / sets the value to increment or decrement the spin box (also known as an up-down control) when the up or down buttons are clicked. The default value is set to '1'. |
this.numericUpDownExt1.Value = new decimal(new int[] {25, 0, 0, 0});
this.numericUpDownExt1.Hexadecimal = true;
this.numericUpDownExt1.Minimum = new decimal(new int[] {50, 0, 0, 0});
this.numericUpDownExt1.Increment = new decimal(new int[] {5, 0, 0, 0});
Me.numericUpDownExt1.Value = New Decimal(New Integer() {25, 0, 0, 0})
Me.numericUpDownExt1.Hexadecimal = True
Me.numericUpDownExt1.Minimum = New Decimal(New Integer() {50, 0, 0, 0})
Me.numericUpDownExt1.Increment = New Decimal(New Integer() {5, 0, 0, 0})
The methods associated with the above properties are given below.
Methods | Description |
---|---|
DownButton | Decrements the value of the spin box (also known as an up-down control). |
UpButton | Increments the value of the spin box (also known as an up-down control). |