MenuItem.IsParent property
Gets whether the menu item contains child menu items.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property IsParent As Boolean
Get
'Usage
Dim instance As MenuItem
Dim value As Boolean
value = instance.IsParent
public bool IsParent { get; }
Property value
Type: System.Boolean
true if the menu item contains child menu items; false if the menu is a standalone menu item.