ControlType Class
ControlType class encapsulates the different types of UI Controls
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
| Name | Description | |
|---|---|---|
![]() | FriendlyName | Gets the friendly name of the control type for generating action log entries. |
![]() | Name | Gets the name of this control type object. |
![]() ![]() | NameComparer | Gets a comparer for comparing the names of two control types. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | Determines whether the provided object is equal to this instance of the ControlType class.(Overrides Object::Equals(Object^).) |
![]() ![]() | GetControlType(String^) | Returns a control type object by using the provided name. |
![]() ![]() | GetControlType(String^, String^) | Returns a control type object by using the provided name and friendly name. If it does not exist, creates a new control type by using the provided name and friendly name. |
![]() | GetHashCode() | Hashcode of the ControlType(Overrides Object::GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | NameEquals(String^) | Determines whether the provided name and the value of the Name property are equal. |
![]() | ToString() | Returns a string representation of this control type object.(Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | Audio | Identifies an audio control. |
![]() ![]() | Button | Returns a control type object that has the name "Button" and a localized friendly name. |
![]() ![]() | Calendar | Returns a control type object that has the name "Calendar" and a localized friendly name. |
![]() ![]() | Cell | Returns a control type object that has the name "Cell" and a localized friendly name. |
![]() ![]() | CheckBox | Returns a control type object that has the name "CheckBox" and a localized friendly name. |
![]() ![]() | CheckBoxTreeItem | Returns a control type object that has the name "CheckBoxTreeItem" and a localized friendly name. |
![]() ![]() | Client | Returns a control type object that has the name "" and a localized friendly name. |
![]() ![]() | ColumnHeader | Returns a control type object that has the name "ColumnHeader" and a localized friendly name. |
![]() ![]() | ComboBox | Returns a control type object that has the name "ComboBox" and a localized friendly name. |
![]() ![]() | ContextMenu | A context menu is a control which has multiple sub items inside it. |
![]() ![]() | Custom | Returns a control type object that has the name "Custom" and a localized friendly name. |
![]() ![]() | DatePicker | Returns a control type object that has the name "DatePicker" and a localized friendly name. |
![]() ![]() | DateTimePicker | Returns a control type object that has the name "DateTimePicker" and a localized friendly name. |
![]() ![]() | Document | Returns a control type object that has the name "Document" and a localized friendly name. |
![]() ![]() | Edit | Returns a control type object that has the name "Edit" and a localized friendly name. |
![]() ![]() | Empty | Returns a control type object that has the name "Empty" and a localized friendly name. |
![]() ![]() | Expander | Returns a control type object that has the name "Expander" and a localized friendly name. |
![]() ![]() | FileInput | Returns a control type object that has the name "FileInput" and a localized friendly name. |
![]() ![]() | FlipView | |
![]() ![]() | FlipViewItem | |
![]() ![]() | Frame | Returns a control type object that has the name "Frame" and a localized friendly name. |
![]() ![]() | Group | Returns a control type object that has the name "Group" and a localized friendly name. |
![]() ![]() | Hub | |
![]() ![]() | HubSection | |
![]() ![]() | Hyperlink | Returns a control type object that has the name "Hyperlink" and a localized friendly name. |
![]() ![]() | Image | Returns a control type object that has the name "Image" and a localized friendly name. |
![]() ![]() | Label | Returns a control type object that has the name "Label" and a localized friendly name. |
![]() ![]() | List | Returns a control type object that has the name "List" and a localized friendly name. |
![]() ![]() | ListItem | Returns a control type object that has the name "ListItem" and a localized friendly name. |
![]() ![]() | Media | Identifies a media control. |
![]() ![]() | Menu | Returns a control type object that has the name "Menu" and a localized friendly name. |
![]() ![]() | MenuBar | Returns a control type object that has the name "MenuBar" and a localized friendly name. |
![]() ![]() | MenuItem | Returns a control type object that has the name "MenuItem" and a localized friendly name. |
![]() ![]() | Pane | Returns a control type object that has the name "Pane" and a localized friendly name. |
![]() ![]() | Pivot | |
![]() ![]() | PivotItem | |
![]() ![]() | ProgressBar | Returns a control type object that has the name " ProgressBar" and a localized friendly name. |
![]() ![]() | RadioButton | Returns a control type object that has the name "RadioButton" and a localized friendly name. |
![]() ![]() | Rating | An control that is used to rate something by selecting the number of stars in it |
![]() ![]() | Row | Returns a control type object that has the name "Row" and a localized friendly name. |
![]() ![]() | RowHeader | Returns a control type object that has the name "RowHeader" and a localized friendly name. |
![]() ![]() | ScrollBar | Returns a control type object that has the name "ScrollBar" and a localized friendly name. |
![]() ![]() | SemanticZoom | |
![]() ![]() | Separator | Returns a control type object that has the name "Separator" and a localized friendly name. |
![]() ![]() | Slider | Returns a control type object that has the name "Slider" and a localized friendly name. |
![]() ![]() | Spinner | Returns a control type object that has the name "Spinner" and a localized friendly name. |
![]() ![]() | SplitButton | Returns a control type object that has the name "SplitButton" and a localized friendly name. |
![]() ![]() | StatusBar | Returns a control type object that has the name "StatusBar" and a localized friendly name. |
![]() ![]() | Table | Returns a control type object that has the name "Table" and a localized friendly name. |
![]() ![]() | TabList | Returns a control type object that has the name "TabList" and a localized friendly name. |
![]() ![]() | TabPage | Returns a control type object that has the name "TabPage" and a localized friendly name. |
![]() ![]() | Text | Returns a control type object that has the name "Text" and a localized friendly name. |
![]() ![]() | TitleBar | Returns a control type object that has the name "TitleBar" and a localized friendly name. |
![]() ![]() | ToggleButton | Returns a control type object that has the name "ToggleButton" and a localized friendly name. |
![]() ![]() | ToggleSwitch | |
![]() ![]() | ToolBar | Returns a control type object that has the name "ToolBar" and a localized friendly name. |
![]() ![]() | ToolTip | Returns a control type object that has the name "ToolTip" and a localized friendly name. |
![]() ![]() | Tree | Returns a control type object that has the name "Tree" and a localized friendly name. |
![]() ![]() | TreeItem | Returns a control type object that has the name "TreeItem" and a localized friendly name. |
![]() ![]() | Video | Identifies a video control. |
![]() ![]() | Window | Returns a control type object that has the name "Window" and a localized friendly name. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality(ControlType^, ControlType^) | Represents an equality operator (==) for comparing two control type objects. |
![]() ![]() | Implicit(String^ to ControlType^) | Provides an implicit operator for comparing the provided name with a control type object. |
![]() ![]() | Inequality(ControlType^, ControlType^) | Represents an inequality operator (!=) for comparing two control type objects. |
No content here will be updated; please do not add material here.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




