Skip to main content
A newer version of this page is available. .

ICommandUIState Interface

Defines a command state.

Namespace: DevExpress.Utils.Commands

Assembly: DevExpress.Data.v19.1.dll

Declaration

public interface ICommandUIState

Remarks

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 snippets (auto-collected from DevExpress Examples) contain references to the ICommandUIState interface.

Note

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