ICommandUIState.Enabled Property

Gets or sets whether the command is enabled.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v21.1.dll


bool Enabled { get; set; }

Property Value

Type Description

true to enable the command; otherwise, false.


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