System.Windows.Forms.MenuItem.Parent Property

Gets a value indicating the menu that contains this menu item.

Syntax

[System.ComponentModel.Browsable(false)]
public Menu Parent { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to obtain the System.Windows.Forms.Menu object for a submenu. You can cast the System.Windows.Forms.Menu object returned by this property to a System.Windows.Forms.MenuItem object to manipulate it.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0