UpDownEventArgs(Int32) 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 UpDownEventArgs class.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
UpDownEventArgs(int buttonPushed);
public UpDownEventArgs (int buttonPushed);
new System.Windows.Forms.UpDownEventArgs : int -> System.Windows.Forms.UpDownEventArgs
Public Sub New (buttonPushed As Integer)
Parameters
- buttonPushed
- Int32
The button that was clicked on the UpDownBase control.
Remarks
The following table describes the values that are valid for buttonPushed
.
Value | Description |
---|---|
0 | Neither button was clicked. |
1 | The up button was clicked. |
2 | The down button was clicked. |
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.