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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.