ControlType Members
.NET Framework 3.0
Identifies the type of a user interface (UI) control.
The following tables list the members exposed by the ControlType type.
| Name | Description | |
|---|---|---|
| Button | Identifies a button control. |
| Calendar | Identifies a calendar control, such as a date-picker. |
| CheckBox | Identifies a check box control. |
| ComboBox | Identifies a combo box control. |
| Custom | Identifies a control that is not one of the defined control types. |
| DataGrid | Identifies a data grid control. |
| DataItem | Identifies a data item control. |
| Document | Identifies a document control. |
| Edit | Identifies an edit control, such as a text box. |
| Group | Identifies a group control, which acts as a container for other controls. |
| Header | Identifies a header control, which is a container for the labels of rows and columns of information. |
| HeaderItem | Identifies a header item, which is the label for a row or column of information. |
| Hyperlink | Identifies a hyperlink control. |
| Image | Identifies an image control. |
| List | Identifies a list control, such as a list box. |
| ListItem | Identifies a list item control, which is a child item of a list control. |
| Menu | Identifies a menu control, such as a top-level menu in an application window. |
| MenuBar | Identifies a menu bar control, which generally contains menu buttons. |
| MenuItem | Identifies a menu item control. |
| Pane | Identifies a pane control. |
| ProgressBar | Identifies a progress bar control, which visually indicates the progress of a lengthy operation. |
| RadioButton | Identifies a radio button control, which is a selection mechanism allowing exactly one selected item in a group. |
| ScrollBar | Identifies a scroll bar control, such as a scroll bar in an application window. |
| Separator | Identifies a separator, which creates a visual division in controls like menus and toolbars. |
| Slider | Identifies a slider control. |
| Spinner | Identifies a spinner control. |
| SplitButton | Identifies a split button, which is a button that performs a default action and can also expand to a list of other possible actions. |
| StatusBar | Identifies a status bar control. |
| Tab | Identifies a tab control. |
| TabItem | Identifies a tab item control, which represents a page of a tab control. |
| Table | Identifies a table. |
| Text | Identifies an edit control, such as a text box or rich text box. |
| Thumb | Identifies the control in a scrollbar that can be dragged to a different position. |
| TitleBar | Identifies the caption bar on a window. |
| ToolBar | Identifies a toolbar, such as the control that contains a set of command buttons in an application window. |
| ToolTip | Identifies a tooltip control, an informational window that appears as a result of moving the pointer over a control or sometimes when tabbing to a control using the keyboard. |
| Tree | Identifies a tree control. |
| TreeItem | Identifies a node in a TreeItem control. |
| Window | Identifies a window frame, which contains child objects. |
| Name | Description | |
|---|---|---|
| Id | Gets the underlying numerical identifier.(inherited from AutomationIdentifier) |
| LocalizedControlType | Gets a description of the control type. |
| ProgrammaticName | Gets the registered programmatic name.(inherited from AutomationIdentifier) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| CompareTo | Compares this AutomationIdentifier with another AutomationIdentifier. (inherited from AutomationIdentifier) |
| Equals | Overloaded. Determines whether two AutomationIdentifier objects are equal. (inherited from AutomationIdentifier) |
| GetHashCode | Returns the hash code for this UI Automation identifier. (inherited from AutomationIdentifier) |
| GetNeverSupportedPatterns | Retrieves the pattern identifiers that are not supported by the control type. |
| GetRequiredPatternSets | Retrieves an array of sets of required patterns. |
| GetRequiredProperties | Retrieves an array of the required property identifiers (IDs) for this control type. |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| LookupById | Retrieves a ControlType that encapsulates a specified numerical identifier. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object) |
Reference
ControlType ClassSystem.Windows.Automation Namespace