共用方式為


AutomationControlType Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Specifies the control type that is exposed to the UI automation client.

Namespace:  System.Windows.Automation.Peers
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Enumeration AutomationControlType
public enum AutomationControlType

Members

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

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.