UpDownEventArgs(Int32) Constructor

Definition

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