ASPxClientHtmlEditorCommandExecutingEventArgs.commandName Property
Gets the name of the processed command.
Declaration
commandName: string
Property Value
Type | Description |
---|---|
string | A string value specifying the processed command’s name. |
Remarks
Use the commandName property to identify the command currently being processed. Additional information about the command may be obtained by using the ASPxClientHtmlEditorCommandExecutingEventArgs.parameter property.
Note that the names of the ASPxHtmlEditor‘s default commands can be obtained on the client side by using the ASPxClientCommandConsts object properties.
When a custom command is being executed, the commandName property value is dependent on the way the custom command is executed.
- If a custom command is executed by a click on a custom toolbar button, commandName matches the CommandName property value.
- If a custom command is executed by a click on a custom ribbon item, commandName matches the RibbonItemBase.Name property value.
- If a custom command is executed with the ASPxClientHtmlEditor.ExecuteCommand function, the commandName matches the corresponding function parameter.
See Also