UITestControl.IsTopParent Property
Gets a value that indicates whether this control is the top-level element.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property IsTopParent As Boolean
public virtual bool IsTopParent { get; }
public:
virtual property bool IsTopParent {
bool get ();
}
abstract IsTopParent : bool with get
override IsTopParent : bool with get
function get IsTopParent () : boolean
Property Value
Type: Boolean
true this control is the top-level element; otherwise, false.
.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.