Represents a client control to test the user interface (UI) of Windows Forms.
Inheritance Hierarchy
Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
      Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinClient
Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinClient _
    Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinClient : WinControl
[CLSCompliantAttribute(true)]
public ref class WinClient : public WinControl
[<CLSCompliantAttribute(true)>]
type WinClient =  
    class 
        inherit WinControl 
    end
public class WinClient extends WinControl
The WinClient type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | WinClient() | Initializes a new instance of the WinClient class. | 
| .gif) | WinClient(UITestControl) | Initializes a new instance of the WinClient class by using the provided parent control. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | AccessibleDescription | Gets the description of the underlying IAccessible of this WinControl. (Inherited from WinControl.) | 
| .gif) | AccessKey | Gets the access key that is assigned to this control. (Inherited from WinControl.) | 
| .gif) | BoundingRectangle | (Inherited from UITestControl.) | 
| .gif) | ClassName | (Inherited from UITestControl.) | 
| .gif) | Container | (Inherited from UITestControl.) | 
| .gif) | ControlId | Gets the ID that is assigned to this control. (Inherited from WinControl.) | 
| .gif) | ControlName | Gets the name of this control. (Inherited from WinControl.) | 
| .gif) | ControlType | (Inherited from UITestControl.) | 
| .gif) | Enabled | (Inherited from UITestControl.) | 
| .gif) | Exists | (Inherited from UITestControl.) | 
| .gif) | FilterProperties | (Inherited from UITestControl.) | 
| .gif) | FriendlyName | (Inherited from UITestControl.) | 
| .gif) | HasFocus | (Inherited from UITestControl.) | 
| .gif) | Height | (Inherited from UITestControl.) | 
| .gif) | HelpText | Gets the help text that is assigned to this control. (Inherited from WinControl.) | 
| .gif) | IsTopParent | (Inherited from UITestControl.) | 
| .gif) | Left | (Inherited from UITestControl.) | 
| .gif) | Name | (Inherited from UITestControl.) | 
| .gif) | NativeElement | (Inherited from UITestControl.) | 
| .gif) | SearchConfigurations | (Inherited from UITestControl.) | 
| .gif) | SearchProperties | (Inherited from UITestControl.) | 
| .gif) | SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | 
| .gif) | State | (Inherited from UITestControl.) | 
| .gif) | TechnologyName | (Inherited from UITestControl.) | 
| .gif) | ToolTipText | (Inherited from WinControl.) | 
| .gif) | Top | (Inherited from UITestControl.) | 
| .gif) | TopParent | (Inherited from UITestControl.) | 
| .gif) | Width | (Inherited from UITestControl.) | 
| .gif) | WindowHandle | (Inherited from UITestControl.) | 
| .gif) | WindowTitles | (Inherited from UITestControl.) | 
Top
Methods
Top
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.WinControls Namespace
.gif)