menuitem.control

This is an archived page. It's not actively maintained.

control
Type: menu element
Returns the enclosing menu that the item is inside, if any, or null if there is no enclosing menu.