ICommandUIState Interface

Defines a command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v21.1.dll


public interface ICommandUIState


Use the Command.CreateDefaultCommandUIState method to create a command state for a certain command. The newly created state should be updated via the Command.UpdateUIState method. By checking the ICommandUIState properties, you can decide whether the corresponding action should be performed. If yes, call the Command.ForceExecute method.

See Also