System.Windows.Forms.MenuItem.Visible Property

Gets or sets a value indicating whether the menu item is visible.

Syntax

[System.ComponentModel.Localizable(true)]
[System.ComponentModel.DefaultValue(true)]
public bool Visible { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to modify a menu structure without having to merge menus or disable menus. For example, if you want to hide a complete section of functionality from the menus for your application, you can hide them from the user by setting this property to false.

Requirements

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