Skip to main content

ICommandUIState Interface

Defines a command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ICommandUIState interface.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also