WpfMenuItem.IsTopLevelMenu Property

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

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
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 a top-level menu; otherwise, false.

.NET Framework Security

See Also

Reference

WpfMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace