CommandBar.Visible property

Determines if the specified object is visible.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

bool Visible { get; set; }

Property value

Type: System.Boolean

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.