次の方法で共有


UI オートメーションによる標準コントロールのサポート

メモメモ

このドキュメントは、System.Windows.Automation 名前空間で定義されているマネージ UI Automation クラスを使用する .NET Framework 開発者を対象としています。UI Automationに関する最新情報については、「Windows Automation API: UI Automation (Windows オートメーション API: UI オートメーション)」を参照してください。

このトピックには、WPF、Win32、および Windows Formsフレームワーク向けに開発されたアプリケーションの標準コントロールに対する Microsoft UI Automationサポートに関する情報が含まれています。

このトピックは、次のセクションで構成されています。

  • Windows Presentation Foundation コントロール
  • Win32 コントロール
  • Windows フォーム コントロール
  • 関連トピック

Windows Presentation Foundation コントロール

ユーザー操作に関する情報やサポートを提供するすべての WPF コントロール要素は、UI Automationを全面的にネイティブ サポートしています。 パネルなどのその他の要素は、UI Automationからは認識されません。

Win32 コントロール

ほとんどの Win32 コントロールは、UIAutomationClientsideProviders.dll のクライアント側プロバイダーによって Microsoft UI Automationに公開されています。 このアセンブリは、UI オートメーション クライアント アプリケーションで使用するために、自動的に登録されます。

完全なサポートは、ComCtrl32.dll のバージョン 6 (Microsoft Windows XP 以降で使用可能) のコントロールに対してのみ提供されています。

次のコントロールがサポートされています。

クラス名

コントロール型

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 (メモを参照)

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

メモ   RichEdit コントロールは、Windows Vista に付属するバージョン (RichEd20.dll バージョン 3.1 以降、および MsftEdit.dll バージョン 4.1 以降) に対してのみサポートされます。

サポートされていないコントロールを次に示します。

クラス名

コントロールの種類

SysAnimate32

Image

SysPager

Spinner

SysDateTimePick32

Custom

SysMonthCal32

Calendar

MS_WINNOTE

Tooltip

VBBubble

Tooltip

ScrollBar (スタンドアロン コントロールとして使用される場合)

Slider

SuperGrid

Custom

Windows フォーム コントロール

Windows Formsコントロールは、UIAutomationClientsideProviders.dll のクライアント側プロバイダーによって、Microsoft UI Automationに公開されています。 このアセンブリは、UI オートメーション クライアント アプリケーションで使用するために、自動的に登録されます。

通常、Win32 の一般的なコントロールのマネージ ラッパーである Windows Formsコントロールは、UI Automationによってサポートされます。 次のコントロールがサポートされています。

クラス名

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

次に示すコントロールは、Microsoft Active Accessibility のサポートによってのみ、Microsoft UI Automationに公開されています。 機能の一部が使用できないことがあります。

コントロール名

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

参照

その他の技術情報

UI オートメーション コントロール型