Share via


CommandBar.Visible Property

Determines 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 CommandBar
Dim value As Boolean

value = instance.Visible

instance.Visible = value
bool Visible { get; set; }

Property Value

Type: System.Boolean

Remarks

Some of the content in this topic may not be applicable to some languages.

This property returns True if the specified object is visible; False if it is not.

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.

See Also

Reference

CommandBar Interface

CommandBar Members

Microsoft.Office.Core Namespace