_CommandBarButton.Visible Property
Returns or sets a value that indicates if the specified object is visible.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Property Visible As Boolean
Get
Set
'Usage
Dim instance As _CommandBarButton
Dim value As Boolean
value = instance.Visible
instance.Visible = value
bool Visible { get; set; }
Property Value
Type: System.Boolean
Implements
Remarks
Some of the content in this topic may not be applicable to some languages.
The Visible property for newly created custom command bars is False by default.
The Enabled property for a command bar must be set to True before the visible property is set to True.