XamlWindow Class
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl
Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlWindow
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls
Assembly: Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class XamlWindow _
Inherits XamlControl
[CLSCompliantAttribute(true)]
public class XamlWindow : XamlControl
[CLSCompliantAttribute(true)]
public ref class XamlWindow : public XamlControl
[<CLSCompliantAttribute(true)>]
type XamlWindow =
class
inherit XamlControl
end
public class XamlWindow extends XamlControl
The XamlWindow type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlWindow() | Initializes a new instance of the XamlWindow class. | |
XamlWindow(XamlControl) | Initializes a new instance of the XamlWindow class. |
Top
Properties
Name | Description | |
---|---|---|
AcceleratorKey | Gets the control's accelerator key. (Inherited from XamlControl.) | |
AccessKey | Gets the control's access key. (Inherited from XamlControl.) | |
AutomationId | Gets the control's automation Id. (Inherited from XamlControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
ClassName | (Inherited from UITestControl.) | |
CloseOnPlaybackCleanup | Gets or Sets whether to close the ApplicationControl automatically at playback cleanup. | |
Container | (Inherited from UITestControl.) | |
ControlType | (Inherited from UITestControl.) | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Font | Gets the font if TextProperty is supported. (Inherited from XamlControl.) | |
FontSize | Gets the control's FontSize. (Inherited from XamlControl.) | |
FontWeight | Gets the control's FontWeight. (Inherited from XamlControl.) | |
FrameworkId | Gets the FrameworkId associated with the control. (Inherited from XamlControl.) | |
FriendlyName | (Inherited from UITestControl.) | |
HasFocus | (Inherited from UITestControl.) | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text associated with the control. (Inherited from XamlControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
ItemStatus | (Inherited from XamlControl.) | |
LabeledBy | Gets the control's label text. (Inherited from XamlControl.) | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
Title | Gets the title of the window. | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
WindowHandle | (Inherited from UITestControl.) | |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Name | Description | |
---|---|---|
Close | Closes the associated window. | |
CopyFrom | (Overrides UITestControl.CopyFrom(UITestControl).) | |
DrawHighlight | (Inherited from UITestControl.) | |
EnsureClickable() | (Inherited from UITestControl.) | |
EnsureClickable(Point) | (Inherited from UITestControl.) | |
Equals | (Inherited from UITestControl.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find | Find the XamlWindow. (Overrides UITestControl.Find().) | |
FindMatchingControls | (Inherited from UITestControl.) | |
GetChildren | (Inherited from UITestControl.) | |
GetClickablePoint | (Inherited from UITestControl.) | |
GetHashCode | (Inherited from UITestControl.) | |
GetParent | (Inherited from UITestControl.) | |
GetProperty | (Inherited from UITestControl.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUITestControlsForSearch | Gets the array of UITestControl that will be used for Searching. Overridden to validate the search properties (Inherited from XamlControl.) | |
Launch | Launches the XAML application using given Package Family Name as if the app is not in running/suspended state even if it is. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetFocus | (Inherited from UITestControl.) | |
SetProperty | (Inherited from UITestControl.) | |
ToString | (Inherited from UITestControl.) | |
TryFind | (Inherited from UITestControl.) | |
TryGetClickablePoint(Point%) | (Inherited from UITestControl.) | |
WaitForControlCondition(Predicate<UITestControl>) | (Inherited from UITestControl.) | |
WaitForControlCondition(Predicate<UITestControl>, Int32) | (Inherited from UITestControl.) | |
WaitForControlEnabled() | (Inherited from UITestControl.) | |
WaitForControlEnabled(Int32) | (Inherited from UITestControl.) | |
WaitForControlExist() | (Inherited from UITestControl.) | |
WaitForControlExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlNotExist() | (Inherited from UITestControl.) | |
WaitForControlNotExist(Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object) | (Inherited from UITestControl.) | |
WaitForControlPropertyNotEqual(String, Object, Int32) | (Inherited from UITestControl.) | |
WaitForControlReady() | (Inherited from UITestControl.) | |
WaitForControlReady(Int32) | (Inherited from UITestControl.) |
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.WindowsRuntimeControls Namespace