WpfWindow Class
Represents a window control to test the user interface (UI) of Windows Presentation Foundation (WPF) applications.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfControl
Microsoft.VisualStudio.TestTools.UITesting.WpfControls.WpfWindow
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WpfWindow _
Inherits WpfControl
[CLSCompliantAttribute(true)]
public class WpfWindow : WpfControl
[CLSCompliantAttribute(true)]
public ref class WpfWindow : public WpfControl
[<CLSCompliantAttribute(true)>]
type WpfWindow =
class
inherit WpfControl
end
public class WpfWindow extends WpfControl
The WpfWindow type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WpfWindow() | Initializes a new instance of the WpfWindow class. | |
WpfWindow(UITestControl) | Initializes a new instance of the WpfWindow class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | (Inherited from WpfControl.) | |
AccessKey | (Inherited from WpfControl.) | |
AlwaysOnTop | Gets a value that indicates whether this window must always be on top. | |
AutomationId | (Inherited from WpfControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | (Inherited from WpfControl.) | |
FrameworkId | (Inherited from WpfControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
HasTitleBar | Gets a value that indicates whether this window has a title bar. | |
Height | (Inherited from UITestControl.) | |
HelpText | (Inherited from WpfControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
ItemStatus | (Inherited from WpfControl.) | |
LabeledBy | (Inherited from WpfControl.) | |
Left | (Inherited from UITestControl.) | |
Maximized | Gets a value that indicates whether this window is maximized. | |
Minimized | Gets a value that indicates whether this window is minimized. | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
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 a value that indicates whether this window has been restored. | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
ShowInTaskbar | Gets a value that indicates whether this window appears in the task bar. | |
State | (Inherited from UITestControl.) | |
TabStop | Gets a value that indicates whether this window is a tab stop. | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WpfControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Transparent | Gets 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.WpfControls Namespace