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
override IsTopParent : bool
function get IsTopParent () : boolean

Property Value

Type: System.Boolean
true this control is the top-level element; otherwise, false.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace