ASPxClientCommandConsts.UNDO_COMMAND Property
In This Article
Identifies a command that cancels the last action.
#Declaration
TypeScript
static UNDO_COMMAND: string
#Property Value
Type | Description |
---|---|
string | Value: “undo” |
#Remarks
The UNDO_COMMAND property can be used in the following ways.
- In the ASPxClientHtmlEditor.CommandExecuted event — to determine the toolbar or ribbon item clicked by an end-user. If the ASPxClientHtmlEditorCommandEventArgs.commandName event parameter returns the UNDO_COMMAND property value, this means that either the ToolbarUndoButton toolbar item or the HEUndoRibbonCommand ribbon item (depending upon the toolbar mode used) has been manipulated by an end-user. This might also mean that an end-user used the Ctrl+Z keyboard shortcut.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available both in the Design View and HTML View.
See Also