Windows Dev Center

AutomationControlType enumeration

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

Syntax


Public Enum AutomationControlType

Members

The AutomationControlType enumeration has these members.

MemberValueDescription
Button0

A button control.

Calendar1

A calendar control, such as a date picker.

CheckBox2

A check box control.

ComboBox3

A combo box control.

Edit4

An edit control, such as a text box.

Hyperlink5

A hyperlink control.

Image6

An image control.

ListItem7

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

List8

A list control, such as a list box.

Menu9

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

MenuBar10

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

MenuItem11

A menu item control.

ProgressBar12

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

RadioButton13

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

ScrollBar14

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

Slider15

A slider control.

Spinner16

A spinner control.

StatusBar17

A status bar control.

Tab18

A tab control.

TabItem19

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

Text20

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

ToolBar21

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

ToolTip22

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.

Tree23

A tree control.

TreeItem24

A node in a tree control.

Custom25

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

Group26

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

Thumb27

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

DataGrid28

A data grid control.

DataItem29

A data item control.

Document30

A document control.

SplitButton31

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

Window32

A window frame, which contains child objects.

Pane33

A pane control.

Header34

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

HeaderItem35

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

Table36

A table.

TitleBar37

The caption bar on a window.

Separator38

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

SemanticZoom39

A semantic zoom control.

AppBar40

Introduced in Windows 8.1. An app bar control (AppBar).

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation.Peers
Windows::UI::Xaml::Automation::Peers [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]
[WebHostHidden()]

See also

GetAutomationControlTypeCore
GetAutomationControlType
Custom automation peers

 

 

Show:
© 2015 Microsoft