Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XamlWindow Class

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

[CLSCompliantAttribute(true)]
public ref class XamlWindow : public XamlControl

The XamlWindow type exposes the following members.

  NameDescription
Public methodXamlWindow()Initializes a new instance of the XamlWindow class.
Public methodXamlWindow(XamlControl)Initializes a new instance of the XamlWindow class.
Top

  NameDescription
Public propertyAcceleratorKey Gets the control's accelerator key. (Inherited from XamlControl.)
Public propertyAccessKey Gets the control's access key. (Inherited from XamlControl.)
Public propertyAutomationId Gets the control's automation Id. (Inherited from XamlControl.)
Public propertyBoundingRectangle (Inherited from UITestControl.)
Public propertyClassName (Inherited from UITestControl.)
Public propertyCloseOnPlaybackCleanup Gets or Sets whether to close the ApplicationControl automatically at playback cleanup.
Public propertyContainer (Inherited from UITestControl.)
Public propertyControlType (Inherited from UITestControl.)
Public propertyEnabled (Inherited from UITestControl.)
Public propertyExists (Inherited from UITestControl.)
Public propertyFilterProperties (Inherited from UITestControl.)
Public propertyFont Gets the font if TextProperty is supported. (Inherited from XamlControl.)
Public propertyFontSize Gets the control's FontSize. (Inherited from XamlControl.)
Public propertyFontWeight Gets the control's FontWeight. (Inherited from XamlControl.)
Public propertyFrameworkId Gets the FrameworkId associated with the control. (Inherited from XamlControl.)
Public propertyFriendlyName (Inherited from UITestControl.)
Public propertyHasFocus (Inherited from UITestControl.)
Public propertyHeight (Inherited from UITestControl.)
Public propertyHelpText Gets the help text associated with the control. (Inherited from XamlControl.)
Public propertyIsTopParent (Inherited from UITestControl.)
Public propertyItemStatus (Inherited from XamlControl.)
Public propertyLabeledBy Gets the control's label text. (Inherited from XamlControl.)
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 propertyTitle Gets the title of the window.
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 methodClose Closes the associated window.
Public methodCopyFrom (Overrides UITestControl::CopyFrom(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 Find the XamlWindow. (Overrides UITestControl::Find().)
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 methodGetUITestControlsForSearch Gets the array of UITestControl that will be used for Searching. Overridden to validate the search properties (Inherited from XamlControl.)
Public methodStatic memberLaunch Launches the XAML application using given Package Family Name as if the app is not in running/suspended state even if it is.
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.
Show: