Delen via


AutomationControlType Enum

Definition

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
Inheritance
AutomationControlType
Attributes

Windows requirements

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

Fields

Name Value Description
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.

Edit 4

An edit control, such as a text box.

5

A hyperlink control.

Image 6

An image control.

ListItem 7

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

List 8

A list control, such as a list box.

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.

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.

Slider 15

A slider control.

Spinner 16

A spinner control.

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.

Text 20

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

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.

Custom 25

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

Group 26

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

Thumb 27

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

DataGrid 28

A data grid control.

DataItem 29

A data item control.

Document 30

A document 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.

Window 32

A window frame, which contains child objects.

Pane 33

A pane control.

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.

Table 36

A table.

TitleBar 37

The caption bar on a window.

Separator 38

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

SemanticZoom 39

A semantic zoom control.

AppBar 40

Introduced in . An app bar control (AppBar).

Applies to

See also