_CommandBarButton.Enabled Property

Definition

Returns or sets a value that indicates if the specified command bar control is enabled.

public:
 property bool Enabled { bool get(); void set(bool value); };
public bool Enabled { get; set; }
member this.Enabled : bool with get, set
Public Property Enabled As Boolean

Property Value

Implements

Remarks

If you set the Enabled property to True, the application determines the state of the command bar control; setting it to False will force the control to be disabled.

Applies to