UITestControl.TopParent Property

Gets the top-level parent of this control.

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

public virtual UITestControl TopParent { get; }

Property Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The top-level parent of this control.

Community Additions

ADD
Show: