MenuItem.parentMenu Property

Gets the parent menu control of this item, if it's in a menu control.
 

Property Value

Type: Menu
Value may be null.
The parent menu control of this item, if any.