Freigeben über


Control Pattern Mapping for UI Automation Clients

This topic lists control types and their associated control patterns.

The following table organizes the control patterns into the following categories:

  • Supported: The control must support this control pattern.

  • Conditional Support: The control may support this control pattern depending on the state of the control.

  • Not supported: The control does not support this control pattern; custom controls may support this control pattern.

NoteNote:

Some controls have conditional support for several control patterns depending on the functionality of the control. For example, the menu item control has conditional support for the InvokePattern, ExpandCollapsePattern, TogglePattern, or SelectionItemPattern control patterns, depending on its function in the menu control.

This topic contains the following sections.

  • UI Automation Control Patterns for Clients
  • Related Topics

UI Automation Control Patterns for Clients

Control Type Supported Conditional Support Not Supported

Button

None

Invoke, Toggle

None

Calendar

Grid, Selection, Table

Scroll

Value

Check Box

Toggle

None

None

Combo Box

Expand Collapse, Selection

Value

Scroll

Data Grid

Grid, Selection, Table

Scroll

None

Data Item

Selection Item

Expand Collapse, Scroll Item, Value, Toggle, Grid Item, Table

None

Document

Scroll, Text

None

Value

Edit

Text

Range Value, Value

Scroll

Group

None

Expand Collapse

None

Header

None

Transform

None

Header Item

None

Transform, Invoke

None

Hyperlink

Invoke

None

None

Image

None

Grid Item, Table Item

Invoke, Selection Item

List

None

Grid, Multiple View, Scroll, Selection

Table

List Item

Selection Item

Expand Collapse, Grid Item, Invoke, Scroll Item, Toggle, Value

None

Menu

None

None

None

Menu Bar

None

Expand Collapse, Dock, Transform

None

Menu Item

None

Expand Collapse, Invoke, Selection Item, or Toggle

None

Pane

None

Transform, Dock

Window

Progress Bar

None

Range Value, Value

None

Radio Button

Selection Item

None

Toggle

Scroll Bar

Range Value

None

Scroll

Separator

None

None

None

Slider

None

Range Value, Selection

None

Spinner

None

Range Value, Selection

None

Split Button

Invoke, Expand Collapse

None

None

Status Bar

None

Grid

None

Tab

Selection

Scroll

None

Tab Item

Selection Item

None

Invoke

Table

Grid, Table

None

None

Text

Text

Grid Item, Table Item

Value

Thumb

None

None

None

Title Bar

None

None

None

Tool Bar

None

Dock, Expand Collapse, Transform

None

Tool Tip

None

Text, Window

None

Tree

Scroll, Selection

None

Tree Item

Expand Collapse

Invoke, Scroll Item, Selection Item

None

Window

Transform, Window

Dock

None

Note   If a control type has no supported control patterns listed but has one or more conditionally-supported control patterns then one of those conditional control patterns will be supported at all times.

See Also

Concepts

UI Automation Overview