CommandBar.Visible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 fals
e.
- Attributes
Remarks
If you change the visibility of a menu bar or a disabled command bar, this property throws an InvalidOperationException.