Export (0) Print
Expand All

ControlType Class

Represents the types of controls for testing the user interface of an application. This class cannot be inherited.

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.ControlType

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

[SerializableAttribute]
public sealed class ControlType

The ControlType type exposes the following members.

  NameDescription
Public propertyFriendlyNameGets the friendly name of the control type for generating action log entries.
Public propertyNameGets the name of this control type object.
Public propertyStatic memberNameComparerGets a comparer for comparing the names of two control types.
Top

  NameDescription
Public methodEqualsDetermines whether the provided object is equal to this instance of the ControlType class. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetControlType(String)Returns a control type object by using the provided name.
Public methodStatic memberGetControlType(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.
Public methodGetHashCodeServes as a hash function for a particular type. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodNameEqualsDetermines whether the provided name and the value of the Name property are equal.
Public methodToStringReturns a string representation of this control type object. (Overrides Object.ToString().)
Top

  NameDescription
Public operatorStatic memberEqualityRepresents an equality operator (==) for comparing two control type objects.
Public operatorStatic memberImplicit(String to ControlType)Provides an implicit operator for comparing the provided name with a control type object.
Public operatorStatic memberInequalityRepresents an inequality operator (!=) for comparing two control type objects.
Top

  NameDescription
Public fieldStatic memberButtonReturns a control type object that has the name "Button" and a localized friendly name.
Public fieldStatic memberCalendarReturns a control type object that has the name "Calendar" and a localized friendly name.
Public fieldStatic memberCellReturns a control type object that has the name "Cell" and a localized friendly name.
Public fieldStatic memberCheckBoxReturns a control type object that has the name "CheckBox" and a localized friendly name.
Public fieldStatic memberCheckBoxTreeItemReturns a control type object that has the name "CheckBoxTreeItem" and a localized friendly name.
Public fieldStatic memberClientReturns a control type object that has the name "" and a localized friendly name.
Public fieldStatic memberColumnHeaderReturns a control type object that has the name "ColumnHeader" and a localized friendly name.
Public fieldStatic memberComboBoxReturns a control type object that has the name "ComboBox" and a localized friendly name.
Public fieldStatic memberCustomReturns a control type object that has the name "Custom" and a localized friendly name.
Public fieldStatic memberDatePickerReturns a control type object that has the name "DatePicker" and a localized friendly name.
Public fieldStatic memberDateTimePickerReturns a control type object that has the name "DateTimePicker" and a localized friendly name.
Public fieldStatic memberDocumentReturns a control type object that has the name "Document" and a localized friendly name.
Public fieldStatic memberEditReturns a control type object that has the name "Edit" and a localized friendly name.
Public fieldStatic memberEmptyReturns a control type object that has the name "Empty" and a localized friendly name.
Public fieldStatic memberExpanderReturns a control type object that has the name "Expander" and a localized friendly name.
Public fieldStatic memberFileInputReturns a control type object that has the name "FileInput" and a localized friendly name.
Public fieldStatic memberFrameReturns a control type object that has the name "Frame" and a localized friendly name.
Public fieldStatic memberGroupReturns a control type object that has the name "Group" and a localized friendly name.
Public fieldStatic memberHyperlinkReturns a control type object that has the name "Hyperlink" and a localized friendly name.
Public fieldStatic memberImageReturns a control type object that has the name "Image" and a localized friendly name.
Public fieldStatic memberLabelReturns a control type object that has the name "Label" and a localized friendly name.
Public fieldStatic memberListReturns a control type object that has the name "List" and a localized friendly name.
Public fieldStatic memberListItemReturns a control type object that has the name "ListItem" and a localized friendly name.
Public fieldStatic memberMenuReturns a control type object that has the name "Menu" and a localized friendly name.
Public fieldStatic memberMenuBarReturns a control type object that has the name "MenuBar" and a localized friendly name.
Public fieldStatic memberMenuItemReturns a control type object that has the name "MenuItem" and a localized friendly name.
Public fieldStatic memberPaneReturns a control type object that has the name "Pane" and a localized friendly name.
Public fieldStatic memberProgressBarReturns a control type object that has the name " ProgressBar" and a localized friendly name.
Public fieldStatic memberRadioButtonReturns a control type object that has the name "RadioButton" and a localized friendly name.
Public fieldStatic memberRowReturns a control type object that has the name "Row" and a localized friendly name.
Public fieldStatic memberRowHeaderReturns a control type object that has the name "RowHeader" and a localized friendly name.
Public fieldStatic memberScrollBarReturns a control type object that has the name "ScrollBar" and a localized friendly name.
Public fieldStatic memberSeparatorReturns a control type object that has the name "Separator" and a localized friendly name.
Public fieldStatic memberSliderReturns a control type object that has the name "Slider" and a localized friendly name.
Public fieldStatic memberSpinnerReturns a control type object that has the name "Spinner" and a localized friendly name.
Public fieldStatic memberSplitButtonReturns a control type object that has the name "SplitButton" and a localized friendly name.
Public fieldStatic memberStatusBarReturns a control type object that has the name "StatusBar" and a localized friendly name.
Public fieldStatic memberTableReturns a control type object that has the name "Table" and a localized friendly name.
Public fieldStatic memberTabListReturns a control type object that has the name "TabList" and a localized friendly name.
Public fieldStatic memberTabPageReturns a control type object that has the name "TabPage" and a localized friendly name.
Public fieldStatic memberTextReturns a control type object that has the name "Text" and a localized friendly name.
Public fieldStatic memberTitleBarReturns a control type object that has the name "TitleBar" and a localized friendly name.
Public fieldStatic memberToggleButtonReturns a control type object that has the name "ToggleButton" and a localized friendly name.
Public fieldStatic memberToolBarReturns a control type object that has the name "ToolBar" and a localized friendly name.
Public fieldStatic memberToolTipReturns a control type object that has the name "ToolTip" and a localized friendly name.
Public fieldStatic memberTreeReturns a control type object that has the name "Tree" and a localized friendly name.
Public fieldStatic memberTreeItemReturns a control type object that has the name "TreeItem" and a localized friendly name.
Public fieldStatic memberWindowReturns a control type object that has the name "Window" and a localized friendly name.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft