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)

Syntax

'Declaration
Public Overridable ReadOnly Property TopParent As UITestControl
public virtual UITestControl TopParent { get; }
public:
virtual property UITestControl^ TopParent {
    UITestControl^ get ();
}
abstract TopParent : UITestControl
override TopParent : UITestControl
function get TopParent () : UITestControl

Property Value

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

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace