Share via

AutomationControlType Enum


Specifies the control type that is exposed to the Microsoft UI Automation client. Used by GetAutomationControlType.

public enum class AutomationControlType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AutomationControlType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AutomationControlType
Public Enum AutomationControlType

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)


AppBar 40

Introduced in . An app bar control (AppBar).

Button 0

A button control.

Calendar 1

A calendar control, such as a date picker.

CheckBox 2

A check box control.

ComboBox 3

A combo box control.

Custom 25

A control that is not one of the defined control types.

DataGrid 28

A data grid control.

DataItem 29

A data item control.

Document 30

A document control.

Edit 4

An edit control, such as a text box.

Group 26

A group control, which acts as a container for other controls.

Header 34

A header control, which is a container for the labels of rows and columns of information.

HeaderItem 35

A header item, which is the label for a row or column of information.


A hyperlink control.

Image 6

An image control.

List 8

A list control, such as a list box.

ListItem 7

A list item control, which is a child item of a list control.

Menu 9

A menu control, such as a top-level menu in an application window.

MenuBar 10

A menu bar control, which generally contains a set of top-level menus.

MenuItem 11

A menu item control.

Pane 33

A pane control.

ProgressBar 12

A progress bar control, which visually indicates the progress of a lengthy operation.

RadioButton 13

A radio button control, which is a selection mechanism allowing exactly one selected item in a group.

ScrollBar 14

A scroll bar control, such as a scroll bar in an application window.

SemanticZoom 39

A semantic zoom control.

Separator 38

A separator, which creates a visual division in controls such as menus and toolbars.

Slider 15

A slider control.

Spinner 16

A spinner control.

SplitButton 31

A split button, which is a button that performs a default action and can also expand to a list of other possible actions.

StatusBar 17

A status bar control.

Tab 18

A tab control.

TabItem 19

A tab item control, which represents a page of a tab control.

Table 36

A table.

Text 20

An edit control, such as a text box or rich text box.

Thumb 27

The control in a scrollbar that can be dragged to a different position.

TitleBar 37

The caption bar on a window.

ToolBar 21

A toolbar, such as the control that contains a set of command buttons in an application window.

ToolTip 22

A tooltip control, an informational window that appears as a result of moving the pointer over a control or sometimes when tabbing to a control using the keyboard.

Tree 23

A tree control.

TreeItem 24

A node in a tree control.

Window 32

A window frame, which contains child objects.

Applies to

See also