編輯

共用方式為


UpDownEventArgs.ButtonID Property

Definition

Gets a value that represents which button the user clicked.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property int ButtonID { int get(); };
public int ButtonID { get; }
member this.ButtonID : int
Public ReadOnly Property ButtonID As Integer

Property Value

A value that represents which button the user clicked.

Remarks

The following table describes the values that the ButtonID returns.

Value Description
0 Neither button was clicked.
1 The up button was clicked.
2 The down button was clicked.

Applies to