Gets or sets the visibility attribute of the command on the toolbar and context menu.
Gets or sets the visibility attribute of the command on the toolbar and context menu.
Syntax
Visual Basic (Declaration) |
|
Public Property Visible As Boolean |
Visual Basic (Usage) |
Copy Code |
Dim instance As Command
Dim value As Boolean
instance.Visible = value
value = instance.Visible
|
C# |
|
public bool Visible {get; set;} |
Return Value
True if command is visible,
false otherwise. Default is
true.
True
if command is visible,
false
otherwise. Default is
true
.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also