The command
element defines a command button, like a radiobutton, a checkbox, or a button.
Name | Value | Description |
---|---|---|
Attribute's name | Attribute's value | Attribute's description |
checked | true | false | Defines if the command is checked or not. Use only if type is radio or checkbox |
default | true | false | If true, the command is invoked. Use only if the command is inside a context menu |
disabled | true | false | Defines if the command is available or not |
hidden | true | false | Defines if the command is visible or not |
icon | url | Defines the url of an image to display as the command |
label | string value | Defines a name for the command. The label is visible |
radiogroup | string value | Defines the name of the radiogroup this command belongs to. Use only if type is radio |
type | checkbox | command | radio | Defines the type of command. Default value is command |
<menu> <command label="test"/> </menu>