This section describes configuration options used to create a command.
Specifies an action performed when the execute() method of the command is called.
Assign a function to perform a custom action when the command is executed.
You can assign a URL to which the browser will navigate when the widget is clicked. Alternatively, assign an object whose fields represent parameters for the URL to be navigated to.
For details on all these forms of actions, refer to the Actions article.
Indicates whether or not the widget that displays this command is disabled.
Specifies the name of the icon shown inside the widget associated with this command.
This option can take on the name of an icon from the built-in icon library.
A URL pointing to the icon shown inside the widget associated with this command.
The identifier of the command.
Setting this option is mandatory, since a command identifier is required when defining an application's command mapping. The identifier should be unique throughout the entire application.
Specifies the title of the widget associated with this command.
Specifies the type of the button, if the command is rendered as a dxButton widget.
See the dxButton's type option description for information on accepted values.
A Boolean value specifying whether or not the widget associated with this command is visible.