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.
UITechnologyElement::TopLevelElement Property
Gets or sets the top-level window for this element.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: property UITechnologyElement^ TopLevelElement { virtual UITechnologyElement^ get() abstract; virtual void set(UITechnologyElement^ value) abstract; }
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^The top level window.
Top-level windows are typically children of the desktop. If this property is not set, the test framework sets the value to the topmost ancestor of the element, and ignores the desktop as an ancestor.
Show: