Export (0) Print
Expand All

ControlType Members

Identifies the type of a user interface (UI) control.

The following tables list the members exposed by the ControlType type.

  Name Description
Public field Static Button Identifies a button control.
Public field Static Calendar Identifies a calendar control, such as a date-picker.
Public field Static CheckBox Identifies a check box control.
Public field Static ComboBox Identifies a combo box control.
Public field Static Custom Identifies a control that is not one of the defined control types.
Public field Static DataGrid Identifies a data grid control.
Public field Static DataItem Identifies a data item control.
Public field Static Document Identifies a document control.
Public field Static Edit Identifies an edit control, such as a text box.
Public field Static Group Identifies a group control, which acts as a container for other controls.
Public field Static Header Identifies a header control, which is a container for the labels of rows and columns of information.
Public field Static HeaderItem Identifies a header item, which is the label for a row or column of information.
Public field Static Hyperlink Identifies a hyperlink control.
Public field Static Image Identifies an image control.
Public field Static List Identifies a list control, such as a list box.
Public field Static ListItem Identifies a list item control, which is a child item of a list control.
Public field Static Menu Identifies a menu control, such as a top-level menu in an application window.
Public field Static MenuBar Identifies a menu bar control, which generally contains menu buttons.
Public field Static MenuItem Identifies a menu item control.
Public field Static Pane Identifies a pane control.
Public field Static ProgressBar Identifies a progress bar control, which visually indicates the progress of a lengthy operation.
Public field Static RadioButton Identifies a radio button control, which is a selection mechanism allowing exactly one selected item in a group.
Public field Static ScrollBar Identifies a scroll bar control, such as a scroll bar in an application window.
Public field Static Separator Identifies a separator, which creates a visual division in controls like menus and toolbars.
Public field Static Slider Identifies a slider control.
Public field Static Spinner Identifies a spinner control.
Public field Static 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.
Public field Static StatusBar Identifies a status bar control.
Public field Static Tab Identifies a tab control.
Public field Static TabItem Identifies a tab item control, which represents a page of a tab control.
Public field Static Table Identifies a table.
Public field Static Text Identifies an edit control, such as a text box or rich text box.
Public field Static Thumb Identifies the control in a scrollbar that can be dragged to a different position.
Public field Static TitleBar Identifies the caption bar on a window.
Public field Static ToolBar Identifies a toolbar, such as the control that contains a set of command buttons in an application window.
Public field Static 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.
Public field Static Tree Identifies a tree control.
Public field Static TreeItem Identifies a node in a TreeItem control.
Public field Static Window Identifies a window frame, which contains child objects.

  Name Description
Public property Id  Gets the underlying numerical identifier.(inherited from AutomationIdentifier)
Public property LocalizedControlType Gets a description of the control type.
Public property ProgrammaticName  Gets the registered programmatic name.(inherited from AutomationIdentifier)

(see also Protected Methods )
  Name Description
Public method CompareTo  Compares this AutomationIdentifier with another AutomationIdentifier. (inherited from AutomationIdentifier)
Public method Equals  Overloaded. Determines whether two AutomationIdentifier objects are equal. (inherited from AutomationIdentifier)
Public method GetHashCode  Returns the hash code for this UI Automation identifier. (inherited from AutomationIdentifier)
Public method GetNeverSupportedPatterns Retrieves the pattern identifiers that are not supported by the control type.
Public method GetRequiredPatternSets Retrieves an array of sets of required patterns.
Public method GetRequiredProperties Retrieves an array of the required property identifiers (IDs) for this control type.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static LookupById Retrieves a ControlType that encapsulates a specified numerical identifier.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method 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)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions

© 2015 Microsoft