Share via


UITestControl.Desktop Property

Gets the UI Control for the desktop.

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

Syntax

'Declaration
Public Shared ReadOnly Property Desktop As UITestControl
public static UITestControl Desktop { get; }
public:
static property UITestControl^ Desktop {
    UITestControl^ get ();
}
static member Desktop : UITestControl with get
static function get Desktop () : UITestControl

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The UI Control for the desktop.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace