This documentation is archived and is not being maintained.

MenuCommand.Visible Property

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

[Visual Basic]
Public Overridable Property Visible As Boolean
[C#]
public virtual bool Visible {get; set;}
[C++]
public: __property virtual bool get_Visible();
public: __property virtual void set_Visible(bool);
[JScript]
public function get Visible() : Boolean;
public function set Visible(Boolean);

Property Value

true if the item is visible; otherwise, false.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MenuCommand Class | MenuCommand Members | System.ComponentModel.Design Namespace

Show: