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 int ButtonID { 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: