Compartir a través de


CommandBar.Enabled Property

Definition

Determines whether the command bar is enabled.

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

Property Value

true if the command bar is enabled, otherwise false.

Attributes

Remarks

For command bars that are menu bars, the values of the properties Enabled and Visible are synchronized. For all other command bars, if a command bar is not Enabled, it is not Visible.

Applies to