Condividi tramite


CommandBar.Visible Property

Definition

Determines whether the command bar is 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

Property Value

true if the command bar is visible, otherwise false.

Attributes

Remarks

If you change the visibility of a menu bar or a disabled command bar, this property throws an InvalidOperationException.

Applies to