CommandBarControl.Enabled Property

Definition

Determines whether the control 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(1610874890)]
public bool Enabled { [System.Runtime.InteropServices.DispId(1610874890)] get; [System.Runtime.InteropServices.DispId(1610874890)] set; }
[<System.Runtime.InteropServices.DispId(1610874890)>]
[<get: System.Runtime.InteropServices.DispId(1610874890)>]
[<set: System.Runtime.InteropServices.DispId(1610874890)>]
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

true if the control is enabled, otherwise false.

Attributes

Remarks

The enabled state is not preserved across sessions.

Applies to