System.Windows.Forms.Menu.IsParent Property

Gets a value indicating whether this menu contains any menu items. This property is read-only.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public virtual bool IsParent { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this method to determine whether any System.Windows.Forms.MenuItem objects are assigned to this menu. This is equivalent to checking for null in the Menu.MenuItems property.

Requirements

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