ASPxClientCommandConsts.PASTE_COMMAND Property
Identifies a command that pastes the content of the clipboard at the current cursor position.
Declaration
static PASTE_COMMAND: string
Property Value
Type | Description |
---|---|
string | Value: “paste” |
Remarks
The PASTE_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 PASTE_COMMAND property value, this means that either the ToolbarPasteButton toolbar item or the HEPasteSelectionRibbonCommand 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 “Paste” command in the context menu.
Note
Pasting the text via the Ctrl+V 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 and Firefox due to its security specifics