ControlType.Button Field

Definition

Identifies a button control.

C#
public static readonly System.Windows.Automation.ControlType Button;

Field Value

Remarks

Buttons perform a single action when clicked.

A button can be used as a standalone control or as a subcontrol in another control type. For example, the drop-down arrow in a combo box control is a button. When used as a subcontrol, a button is in the control view of the UI Automation tree (not in the content view).

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also