Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UpDownEventArgs::ButtonID Property

 

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

Gets a value that represents which button the user clicked.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property int ButtonID {
	int get();
}

Property Value

Type: System::Int32

A value that represents which button the user clicked.

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.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft