MenuCommand.Visible Property

 

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

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

abstract Visible : bool with get, set
override Visible : bool with get, set

Property Value

Type: System.Boolean

true if the item is visible; otherwise, false.

The following code example creates a MenuCommand object, configures its properties, and adds it to the IMenuCommandService.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: