System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.UpDownBase
System.ComponentModel.ISupportInitialize
System.Runtime.InteropServices.ComVisible(true)
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.ComponentModel.DefaultBindingProperty("Value")
System.ComponentModel.DefaultProperty("Value")
System.ComponentModel.DefaultEvent("ValueChanged")
A control contains a single numeric value that can be incremented or decremented by clicking the up or down buttons of the control. The user can also enter in a value, unless the property is set to true.
The numeric display can be formatted by setting the , , or properties. To display hexadecimal values in the control, set the property to true. To display a thousands separator in decimal numbers when appropriate, set the property to true. To specify the number of digits displayed after the decimal symbol, set the property to the number of decimal places to display.
To specify the allowable range of values for the control, set the and properties. Set the value to specify the value to be incremented or decremented to the property when the user clicks the up or down arrow buttons. You can increase the speed that the control moves through numbers when the user continuously presses the up or down arrow by setting the property.
When the or methods are called, either in code or by the click of the up or down buttons, the new value is validated and the control is updated with the new value in the appropriate format. Specifically, if the property is set to true, the method is called prior to validating or updating the value. The value is then verified to be between the and values, and the method is called.
Represents a Windows spin box (also known as an up-down control) that displays numeric values.
Constructor
To be added.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.Browsable(false)
System.Windows.Forms.NumericUpDownAccelerationCollection
To be added.
The property can be used to increase the speed with which the moves through a large set of numbers when the user holds the up or down arrow, either with the keyboard or with the mouse. Setting this property will decrease the number of events that occur depending on the and property values specified for each object in the collection. The objects contained in the collection are sorted by their property.
Gets a collection of sorted acceleration objects for the control.
Method
System.Void
To be added.
Begins the initialization of a control that is used on a form or used by another component. The initialization occurs at run time.
1.0.5000.0
2.0.0.0
Method
System.Windows.Forms.AccessibleObject
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(0)
System.Int32
To be added.
When the property is set, the method is called to update the spin box's display to the new format.
The appropriate decimal symbol is determined by the regional settings of the user's operating system.
Gets or sets the number of decimal places to display in the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Method
System.Void
When the 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 property is set to true, the method is called prior to validating or updating the value. The value is then validated to be between the and values, and the method is called.
Decrements the value of the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
Ends the initialization of a control that is used on a form or used by another component. The initialization occurs at run time.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
When the property is set, the method is called to update the spin box's display to the new format.
When the property is set to true, the property should be set to and the property should be set to .
Gets or sets a value indicating whether the spin box (also known as an up-down control) should display the value it contains in hexadecimal format.
1.0.5000.0
2.0.0.0
Property
System.Decimal
To be added.
Clicking the up button causes the property to increment by the amount specified by the property and approach the property. Clicking the down button causes the property to be decremented by the amount specified by the property and approach the property.
Gets or 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.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
System.Decimal
To be added.
When the property is set, the property is evaluated and the method is called. If the property is greater than the new property, the property value is set equal to the value. If the current is greater than the new value. the property value is set equal to the value.
Gets or sets the maximum value for the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)
System.Decimal
To be added.
When the property is set, the property is evaluated and the method is called. If the new property value is greater than the property value, the value is set equal to the value. If the is less than the new value, the property is also set equal to the value.
Gets or sets the minimum allowed value for the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Method
2.0.0.0
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
A that contains the event data.
Method
2.0.0.0
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
A that contains the event data.
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
2.0.0.0
Method
System.Void
The control accepts only digits, the negative sign, the decimal point, and editing keystrokes, such as BACKSPACE. If the property is set to true, accepts hexadecimal digits.
Raises the event.
The source of the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.Padding
To be added.
Setting the property as no effect on the appearance of the control.
Gets or sets the space between the edges of a control and its contents.
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
For more information about handling events, see Consuming Events.
Occurs when the value of the property changes.
Method
System.Void
If the property is set to true, the text displayed is converted to a numeric value so it can be validated to be between the and property values.
Converts the text displayed in the spin box (also known as an up-down control) to a numeric value and evaluates it.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)
System.ComponentModel.Browsable(false)
System.ComponentModel.Bindable(false)
System.String
To be added.
The has no affect on the appearance of the control; therefore, it is hidden in the designer and from IntelliSense.
Gets or sets the text to be displayed in the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
When the property is set, the method is called to update the spin box's display to the new format.
The appropriate thousands separator is determined by the regional settings of the user's operating system.
Gets or sets a value indicating whether a thousands separator is displayed in the spin box (also known as an up-down control) when appropriate.
1.0.5000.0
2.0.0.0
Method
System.String
The return string includes the type and the values for the and properties.
Returns a string that represents the control.
A string that represents the current .
1.0.5000.0
2.0.0.0
Method
System.Void
When the method is called, either in code or by the click of the up button, the new value is validated and the control is updated with the new value in the appropriate format. Specifically, if is set to true, is called prior to validating or updating the value. The value is then validated to be between the and values and the method is called.
Increments the value of the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Method
System.Void
If the spin box is not being initialized, the current value is validated to be between the and values and is converted to the correct format for display in the control.
Displays the current value of the spin box (also known as an up-down control) in the appropriate format.
1.0.5000.0
2.0.0.0
Method
System.Void
The method calls the and methods to validate and update the display of the spin box.
Validates and updates the text displayed in the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Bindable(true)
System.Decimal
To be added.
When the property is set, the new value is validated to be between the and values. Following this, the method is called to update the spin box's display with the new value in the appropriate format.
Gets or sets the value assigned to the spin box (also known as an up-down control).
1.0.5000.0
2.0.0.0
Event
System.EventHandler
For the event to occur, the property can be changed in code, by clicking the up or down button, or by the user entering a new value that is read by the control. The new value is read when the user hits the ENTER key or navigates away from the control. If the user enters a new value and then clicks the up or down button, the event will occur twice.
For more information about handling events, see Consuming Events.
Occurs when the property has been changed in some way.
1.0.5000.0
2.0.0.0