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.
UITechnologyElementProxy::TopLevelElement Property
Gets or sets the top level window corresponding to this element. The top level windows are typically children of desktop. If this is not set, the framework will set this to the top-most ancestor of the element (after ignoring the desktop as ancestor).
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: property UITechnologyElement^ TopLevelElement { virtual UITechnologyElement^ get() override; virtual void set(UITechnologyElement^ value) override; }
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^The top level window.
Show: