Export (0) Print
Expand All

WinControl Class

Represents an internal base class for testing controls on Windows Forms.

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
      More...

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

[CLSCompliantAttribute(true)]
public class WinControl : UITestControl

The WinControl type exposes the following members.

  NameDescription
Public methodWinControl()Initializes a new instance of the WinControl class.
Public methodWinControl(UITestControl)Initializes a new instance of the WinControl class by using the provided parent control.
Top

  NameDescription
Public propertyAccessibleDescriptionGets the description of the underlying IAccessible of this WinControl.
Public propertyAccessKeyGets the access key that is assigned to this control.
Public propertyBoundingRectangle (Inherited from UITestControl.)
Public propertyClassName (Inherited from UITestControl.)
Public propertyContainer (Inherited from UITestControl.)
Public propertyControlIdGets the ID that is assigned to this control.
Public propertyControlNameGets the name of this control.
Public propertyControlType (Inherited from UITestControl.)
Public propertyEnabled (Inherited from UITestControl.)
Public propertyExists (Inherited from UITestControl.)
Public propertyFilterProperties (Inherited from UITestControl.)
Public propertyFriendlyName (Inherited from UITestControl.)
Public propertyHasFocus (Inherited from UITestControl.)
Public propertyHeight (Inherited from UITestControl.)
Public propertyHelpTextGets the help text that is assigned to this control.
Public propertyIsTopParent (Inherited from UITestControl.)
Public propertyLeft (Inherited from UITestControl.)
Public propertyName (Inherited from UITestControl.)
Public propertyNativeElement (Inherited from UITestControl.)
Public propertySearchConfigurations (Inherited from UITestControl.)
Public propertySearchProperties (Inherited from UITestControl.)
Protected propertySearchPropertiesSetExplicitly (Inherited from UITestControl.)
Public propertyState (Inherited from UITestControl.)
Public propertyTechnologyName (Inherited from UITestControl.)
Public propertyToolTipText
Public propertyTop (Inherited from UITestControl.)
Public propertyTopParent (Inherited from UITestControl.)
Public propertyWidth (Inherited from UITestControl.)
Public propertyWindowHandle (Inherited from UITestControl.)
Public propertyWindowTitles (Inherited from UITestControl.)
Top

  NameDescription
Public methodCaptureImage (Inherited from UITestControl.)
Public methodCopyFrom (Inherited from UITestControl.)
Public methodDrawHighlight (Inherited from UITestControl.)
Public methodEnsureClickable() (Inherited from UITestControl.)
Public methodEnsureClickable(Point) (Inherited from UITestControl.)
Public methodEquals (Inherited from UITestControl.)
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 methodFind (Inherited from UITestControl.)
Public methodFindMatchingControls (Inherited from UITestControl.)
Public methodGetChildren (Inherited from UITestControl.)
Public methodGetClickablePoint (Inherited from UITestControl.)
Public methodGetHashCode (Inherited from UITestControl.)
Public methodGetParent (Inherited from UITestControl.)
Public methodGetProperty (Inherited from UITestControl.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodGetUITestControlsForSearchGets an array of child controls in this control. (Overrides UITestControl.GetUITestControlsForSearch().)
Protected methodGetValidSearchPropertiesGets the dictionary of search properties valid for the control.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetFocus (Inherited from UITestControl.)
Public methodSetProperty (Inherited from UITestControl.)
Public methodToString (Inherited from UITestControl.)
Public methodTryFind (Inherited from UITestControl.)
Public methodTryGetClickablePoint(Point) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>) (Inherited from UITestControl.)
Public methodWaitForControlCondition(Predicate<UITestControl>, Int32) (Inherited from UITestControl.)
Public methodWaitForControlEnabled() (Inherited from UITestControl.)
Public methodWaitForControlEnabled(Int32) (Inherited from UITestControl.)
Public methodWaitForControlExist() (Inherited from UITestControl.)
Public methodWaitForControlExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlNotExist() (Inherited from UITestControl.)
Public methodWaitForControlNotExist(Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object) (Inherited from UITestControl.)
Public methodWaitForControlPropertyNotEqual(String, Object, Int32) (Inherited from UITestControl.)
Public methodWaitForControlReady() (Inherited from UITestControl.)
Public methodWaitForControlReady(Int32) (Inherited from UITestControl.)
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.

System.Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinButton
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCalendar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCell
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCheckBox
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCheckBoxTreeItem
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinClient
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinColumnHeader
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinComboBox
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinCustom
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinDateTimePicker
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinEdit
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinGroup
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinHyperlink
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinList
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinListItem
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenu
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenuBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinMenuItem
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinPane
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinProgressBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRadioButton
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRow
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinRowHeader
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinScrollBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSeparator
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSlider
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinSpinner
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinStatusBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTable
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTabList
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTabPage
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinText
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTitleBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinToolBar
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinToolTip
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTree
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinTreeItem
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinWindow
Show:
© 2014 Microsoft