Partilhar via


Mapeamento de Padrão de Controles para Clientes de Automação de IU

Observação

Esta documentação destina.Os desenvolvedores do NET Framework que desejam usar o gerenciado UI Automation classes definidas na System.Windows.Automation namespace.As informações mais recentes sobre UI Automation, consulte API de automação do Windows: Automação da interface do usuário.

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.

  • Não é suportado. The control does not support this control pattern; custom controls may support this control pattern.

Observação

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 pattern, depending on its function in the menu control.

Este tópico contém as seguintes seções.

  • UI Automation Control Patterns for Clients
  • Tópicos relacionados

UI Automation Control Patterns for Clients

Control Type

Supported

Conditional Support

Not Supported

Button

None

Invocação de alternância, expanda a recolher

None

Calendar

Grid, Table

Seleção de rolagem

Value

Check Box

Toggle

None

None

Combo Box

Expand Collapse

Seleção de valor

Scroll

Data Grid

Grid

Tabela de rolagem, seleção,

None

Data Item

Selection Item

Expandir, recolher, o Item de grade, o Item de rolagem, o valor de tabela, a alternância,

None

Document

Text

Rolar, valor

None

Edit

None

Valor de texto, o valor de intervalo

None

Group

None

Expand Collapse

None

Header

None

Transform

None

Header Item

None

Transform, Invoke

None

Hyperlink

Invoke

Value

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, Toggle

None

Pane

None

Encaixe. Role, transformar

Window

Progress Bar

None

Range Value, Value

None

Radio Button

Selection Item

None

Toggle

Scroll Bar

None

Range Value

Scroll

Separator

None

None

None

Slider

None

O intervalo de valor, seleção, o valor

None

Spinner

None

O intervalo de valor, seleção, o valor

None

Split Button

Invoke, Expand Collapse

None

None

Status Bar

None

Grid

None

Tab

Selection

Scroll

None

Tab Item

Selection Item

None

Invoke

Table

Grade, o Item de grade, tabela, o Item de tabela

None

None

Text

None

Texto do Item, o Item de tabela de grade

Value

Thumb

Transform

None

None

Title Bar

None

None

None

Tool Bar

None

Dock, Expand Collapse, Transform

None

Tool Tip

None

Text, Window

None

Tree

None

Scroll, Selection

None

Tree Item

Expand Collapse

Chamar, Item de rolagem, seleção de Item, alternar

None

Window

Transform, Window

Dock

None

Observação

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.

Consulte também

Conceitos

UI Automation Overview