Creates an object defining the command state for the current command.
public virtual ICommandUIState CreateDefaultCommandUIState()
Public Overridable Function CreateDefaultCommandUIState As ICommandUIState
An ICommandUIState interface that defines the command state.
Use the CreateDefaultCommandUIState method to create an object that exposes the ICommandUIState interface for a particular command. You can use the created object to obtain the current command state by calling the Command.UpdateUIState method. Then, you can check the command state and modify it if necessary, and call the Command.ForceExecute method to perform the action specified by the command.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateDefaultCommandUIState() method.
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.