CommandBar.Visible Propriété

Définition

Détermine si la barre de commandes est visible.

public:
 property bool Visible { bool get(); void set(bool value); };
public:
 property bool Visible { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874910)]
public bool Visible { [System.Runtime.InteropServices.DispId(1610874910)] get; [System.Runtime.InteropServices.DispId(1610874910)] set; }
[<System.Runtime.InteropServices.DispId(1610874910)>]
[<get: System.Runtime.InteropServices.DispId(1610874910)>]
[<set: System.Runtime.InteropServices.DispId(1610874910)>]
member this.Visible : bool with get, set
Public Property Visible As Boolean

Valeur de propriété

Boolean

true si la barre de commandes est affichée ; sinon fals.

Attributs

Remarques

Si vous modifiez la visibilité d’une barre de menus ou d’une barre de commandes désactivée, cette propriété lève une InvalidOperationException .

S’applique à