ICommandUIState.Enabled Property

Gets or sets whether the command is enabled.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v19.2.dll

Declaration

bool Enabled { get; set; }
Property Enabled As Boolean

Property Value

Type Description
Boolean

true to enable the command; otherwise, false.

Remarks

The Enabled property value is used by the Command.CanExecute method to decide whether the command can be executed. User interface elements supporting commands handle the Enabled property by changing their state accordingly.

See Also