Partager via


CommandBarButtonClass.Enabled Property

Definition

Determines whether the control is enabled.

public:
 virtual property bool Enabled { bool get(); void set(bool value); };
public:
 virtual property bool Enabled { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(1610874890)]
public virtual 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 Overridable Property Enabled As Boolean

Property Value

true if the control is enabled, otherwise false.

Implements

Attributes

Remarks

The enabled state is not preserved across sessions.

Applies to