CommandBar.VisibleInDocument

This property returns/sets whether command bar is displayed when the specified document type has the focus.

Syntax Parameters Return Value
Property CommandBar.VisibleInDocument( _
    docType As DocumentType) As Boolean
docType [in]

The document type to check for when this menu/toolbar is shown.

Type: DocumentType

Boolean