Compartilhar via


Suporte a automação de interface do usuário para Controles Padrão

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 contains information about Microsoft UI Automation support for standard controls in applications developed for the WPF, Win32, and Windows Forms frameworks.

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

  • Windows Presentation Foundation Controls
  • Win32 Controls
  • Windows Forms Controls
  • Tópicos relacionados

Windows Presentation Foundation Controls

All WPF control elements that provide information or support for user interaction have full native support for UI Automation. Other elements, such as panels, are not visible to UI Automation.

Win32 Controls

A maioria dos Win32 controles estão expostos a Microsoft UI Automation através de provedores do lado do cliente em UIAutomationClientsideProviders.dll. Este assembly é registrado automaticamente para uso com o o cliente de automação da interface do usuário aplicativos.

Full support is provided only for controls from version 6 of ComCtrl32.dll (available with Microsoft Windows XP and later).

The following controls are supported.

Nome da classe

Control Type

Button

Button

Button

RadioButton

Button

Group

Button

CheckBox

Button

Hyperlink

Button

SplitButton

Button

CheckBox

ComboBoxEx32

ComboBox

ComboBox

ComboBox

Edit

Document

Edit

Edit

SysLink

Hyperlink

Static

Text

Static

Image

SysIPAddress32

Custom

SysHeader32

Header/HeaderItem

SysListView32

DataGrid

SysListView32

List

ListBox

List

ListBox

ListItem

#32768

Menu

#32768

MenuItem

msctls_progress32

ProgressBar

RichEdit

Document. See note.

RichEdit20A

Document

RichEdit20W

Document

RichEdit50W

Document

ScrollBar

Slider

msctls_trackbar32

Slider

msctls_updown32

Spinner

msctls_statusbar32

StatusBar

SysTabControl32

Tab

SysTabControl32

TabItem

ToolbarWindow32

ToolBar

ToolbarWindow32

MenuItem

ToolbarWindow32

Button

ToolbarWindow32

CheckBox

ToolbarWindow32

RadioButton

ToolbarWindow32

Separator

tooltips_class32

ToolTip

#32774

ToolTip

ReBarWindow32

Toolbar

SysTreeView32

Tree

SysTreeView32

TreeItem

Note   The RichEdit control is supported only for versions shipped with Windows Vista (in RichEd20.dll version 3.1 and later, and MsftEdit.dll version 4.1 and later).

The following controls are not supported.

Nome da classe

Control type

SysAnimate32

Image

SysPager

Spinner

SysDateTimePick32

Custom

SysMonthCal32

Calendar

MS_WINNOTE

Tooltip

VBBubble

Tooltip

ScrollBar (when used as a standalone control)

Slider

SuperGrid

Custom

Windows Forms Controls

Windows Formscontroles são expostos a Microsoft UI Automation através de provedores do lado do cliente em UIAutomationClientsideProviders.dll. Este assembly é registrado automaticamente para uso com o o cliente de automação da interface do usuário aplicativos.

Typically, Windows Forms controls that are managed wrappers for Win32 common controls are supported by UI Automation. The following controls are supported.

Class Name

Button

CheckBox

CheckedListBox

ColorDialog

ComboBox

FolderBrowser

FontDialog

GroupBox

HscrollBar

ImageList

Label

ListBox

ListView

MainMenu/ContextMenu

MonthCalendar

NotifyIcon

OpenFileDialog

PageSetupDialog

PrintDialog

ProgressBar

RadioButton

RichTextBox

SaveFileDialog

ScrollableControl

SoundPlayer

StatusBar

TabControl/TabPage

TextBox

Timer

Toolbar

ToolTip

TrackBar

TreeView

VscrollBar

WebBrowser

The following controls are exposed to Microsoft UI Automation only through their support for Microsoft Active Accessibility. Some functionality may not be available.

Control Name

BindingSource

DataGrid

DataGridView

DataNavigator

DomainUpDown

ErrorProvider

FlowLayoutPanel

Form

LinkLabel

HelpProvider

MaskedTextBox

MenuStrip/ContextMenuStrip

NumericUpDown

Panel

PictureBox

PrintDocument

PrintPreview-Control

PrintPreview-Dialog

PropertyGrid

UserControl

ToolStrip

TableLayoutPanel

SplitContainer/SplitterPanel

Splitter

RaftingContainer

StatusStrip

Consulte também

Outros recursos

Tipos de controle de automação de interface do usuário