ControlType to UIItem Mapping for Primary UIItems
UIA ControlType |
White's UIItem |
Additional Info |
List |
ListBox |
The classname of ListView is misleading |
DataGrid |
ListView |
ListView in WinForm |
Edit |
TextBox |
|
Text |
Label |
|
ComboBox |
ComboBox |
WPFComboBox,Win32ComboBox,WinFormComboBox |
Slider |
Slider |
|
Button |
Button |
|
CheckBox |
CheckBox |
|
Hyperlink |
Hyperlink |
|
Tree |
Tree |
|
RadioButton |
RadioButton |
|
Table |
Table |
DataGridView in WinForm maps to this |
Document |
MultilineTextBox |
|
Tab |
Tab |
TabControl in WinForm |
ToolBar |
ToolStrip |
|
MenuBar |
MenuBar |
|
Menu |
MenuBar |
|
MenuItem |
Menu |
|
ProgressBar |
ProgressBar |
|
Spinner |
Spinner |
|
Pane |
PropertyGrid, DateTimePicker |
|
StatusBar |
StatusStrip |
|
Image |
Image |
|
TabPage |
TabItem |
|
Custom |
TableHeader, TableRow |
|
DataItem |
ListViewRow |
|
ListItem |
ListItem |
|
TreeItem |
TreeNode |
|
Group |
GroupBox |
|
Thumb |
Thumb |
|
TitleBar |
TitleBar |
use window.TitleBar to retrieve it |
ToolTip |
ToolTip |
use window. ToolTip to retrieve it |
Secondary ControlTypes (Header, HeaderItem, ScrollBar, ListItem, TabItem) are not listed here.
ControlType.Window maps to Window but window is not a primary item