Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Button Field

ControlType.Button Field

Identifies a button control.

Namespace:  System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public static readonly ControlType Button

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).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft