NumericUpDownAcceleration(Int32, Decimal) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NumericUpDownAcceleration class.
public:
NumericUpDownAcceleration(int seconds, System::Decimal increment);
public NumericUpDownAcceleration (int seconds, decimal increment);
new System.Windows.Forms.NumericUpDownAcceleration : int * decimal -> System.Windows.Forms.NumericUpDownAcceleration
Public Sub New (seconds As Integer, increment As Decimal)
Parameters
- seconds
- Int32
The number of seconds the up or down button is pressed before the acceleration starts.
- increment
- Decimal
The quantity the value displayed in the control should be incremented or decremented during acceleration.
Exceptions
seconds
or increment
is less than 0.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.