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 with get
override IsTopLevelMenu : bool with get
function get IsTopLevelMenu () : boolean
Property Value
Type: Boolean
true if this menu item is the top-level menu; 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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace