MenuItem.IsParent Property

Gets whether the menu item contains child menu items.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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.

See Also

Reference

MenuItem Class

MenuItem Members

Microsoft.SharePoint.WebPartPages Namespace