WinWindow Class
Represents a window 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.WinWindow
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinWindow _
Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinWindow : WinControl
[CLSCompliantAttribute(true)]
public ref class WinWindow : public WinControl
[<CLSCompliantAttribute(true)>]
type WinWindow =
class
inherit WinControl
end
public class WinWindow extends WinControl
The WinWindow type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WinWindow() | Initializes a new instance of the WinWindow class. | |
WinWindow(UITestControl) | Initializes a new instance of the WinWindow class. |
Top
Properties
Name | Description | |
---|---|---|
AccessibleDescription | Gets the description of the underlying IAccessible of this WinControl. (Inherited from WinControl.) | |
AccessKey | Gets the access key that is assigned to this control. (Inherited from WinControl.) | |
AlwaysOnTop | Gets a value that indicates whether this window always appears on top of other windows. | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlId | Gets the ID that is assigned to this control. (Inherited from WinControl.) | |
ControlName | Gets the name of this control. (Inherited from WinControl.) | |
ControlType | (Inherited from UITestControl.) | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
HasTitleBar | Gets a value that indicates whether this window control has a title bar. | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text that is assigned to this control. (Inherited from WinControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
Left | (Inherited from UITestControl.) | |
Maximized | Gets or sets a value that indicates whether this window control is maximized. | |
Minimized | Gets or sets a value that indicates whether this window control is minimized. | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
OrderOfInvocation | Gets the order of invocation for this window. | |
Popup | Gets a value that indicates whether this window is a pop-up window. | |
Resizable | Gets a value that indicates whether this window is resizable. | |
Restored | Gets or sets a value that indicates whether this window is restored. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
ShowInTaskbar | Gets or sets a value that indicates whether this window appears in the taskbar. | |
State | (Inherited from UITestControl.) | |
TabStop | Gets or sets a value that indicates whether this window is a tab stop. | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WinControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Transparent | Gets or sets a value that indicates whether this window is transparent. | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
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