ASPxClientCommandConsts.CUT_COMMAND Property
Identifies a command that cuts the selected content.
Declaration
static CUT_COMMAND: string
Property Value
Type | Description |
---|---|
string | Value: “cut” |
Remarks
The CUT_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 CUT_COMMAND property value, this means that either the ToolbarCutButton toolbar item or the HECutSelectionRibbonCommand ribbon item (depending upon the toolbar mode used) has been manipulated by an end-user. It might also mean that an end-user has clicked the Cut command in the context menu.
Note
Cutting the text via the Ctrl+X key combination doesn’t execute this command.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available only in the Design View.
Important
This command doesn’t work in Chrome due to its security specifics