WinMenuItem.IsTopLevelMenu Property

Gets or sets a value that indicates whether this menu item is the top-level menu.

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

Syntax

'Declaration
Public Overridable ReadOnly Property IsTopLevelMenu As Boolean
public virtual bool IsTopLevelMenu { get; }
public:
virtual property bool IsTopLevelMenu {
    bool get ();
}
abstract IsTopLevelMenu : bool
override IsTopLevelMenu : bool
function get IsTopLevelMenu () : boolean

Property Value

Type: System.Boolean
true if this menu item is the top-level menu; otherwise, false.

.NET Framework Security

See Also

Reference

WinMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace