MenuItem.parentItem Property

Gets the parent of this item, if this item is a child.
 

Property Value

Type: MenuItem
Value may be null.
The parent item of this item, if any.