Share via


ControlType Class

ControlType class encapsulates the different types of UI Controls

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.ControlType

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class ControlType
[SerializableAttribute]
public sealed class ControlType
[SerializableAttribute]
public ref class ControlType sealed
[<Sealed>]
[<SerializableAttribute>]
type ControlType =  class end
public final class ControlType

The ControlType type exposes the following members.

Properties

  Name Description
Public property FriendlyName
Public property Name
Public propertyStatic member NameComparer

Top

Methods

  Name Description
Public method Equals (Overrides Object.Equals(Object).)
Public methodStatic member GetControlType(String)
Public methodStatic member GetControlType(String, String)
Public method GetHashCode (Overrides Object.GetHashCode.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method NameEquals
Public method ToString (Overrides Object.ToString.)

Top

Operators

  Name Description
Public operatorStatic member Equality
Public operatorStatic member Implicit(String to ControlType)
Public operatorStatic member Inequality

Top

Fields

  Name Description
Public fieldStatic member Audio
Public fieldStatic member Button
Public fieldStatic member Calendar
Public fieldStatic member Cell
Public fieldStatic member CheckBox
Public fieldStatic member CheckBoxTreeItem
Public fieldStatic member Client
Public fieldStatic member ColumnHeader
Public fieldStatic member ComboBox
Public fieldStatic member ContextMenu
Public fieldStatic member Custom
Public fieldStatic member DatePicker
Public fieldStatic member DateTimePicker
Public fieldStatic member Document
Public fieldStatic member Edit
Public fieldStatic member Empty
Public fieldStatic member Expander
Public fieldStatic member FileInput
Public fieldStatic member FlipView
Public fieldStatic member FlipViewItem
Public fieldStatic member Frame
Public fieldStatic member Group
Public fieldStatic member Hub
Public fieldStatic member HubSection
Public fieldStatic member Hyperlink
Public fieldStatic member Image
Public fieldStatic member Label
Public fieldStatic member List
Public fieldStatic member ListItem
Public fieldStatic member Media
Public fieldStatic member Menu
Public fieldStatic member MenuBar
Public fieldStatic member MenuItem
Public fieldStatic member Pane
Public fieldStatic member ProgressBar
Public fieldStatic member RadioButton
Public fieldStatic member Rating
Public fieldStatic member Row
Public fieldStatic member RowHeader
Public fieldStatic member ScrollBar
Public fieldStatic member SemanticZoom
Public fieldStatic member Separator
Public fieldStatic member Slider
Public fieldStatic member Spinner
Public fieldStatic member SplitButton
Public fieldStatic member StatusBar
Public fieldStatic member Table
Public fieldStatic member TabList
Public fieldStatic member TabPage
Public fieldStatic member Text
Public fieldStatic member TitleBar
Public fieldStatic member ToggleButton
Public fieldStatic member ToggleSwitch
Public fieldStatic member ToolBar
Public fieldStatic member ToolTip
Public fieldStatic member Tree
Public fieldStatic member TreeItem
Public fieldStatic member Video
Public fieldStatic member Window

Top

Remarks

No content here will be updated; please do not add material here.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting Namespace