ControlType.Button Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Identifies a button control.

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

static val Button : ControlType

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
Available since 3.0
Return to top