ASPxClientCommandConsts.COPY_COMMAND Property
Identifies a command that copies the selected content.
#Declaration
static COPY_COMMAND: string
#Property Value
Type | Description |
---|---|
string | Value: “copy” |
#Remarks
The COPY_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 COPY_COMMAND property value, this means that either the ToolbarCopyButton toolbar item or the HECopySelectionRibbonCommand 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 Copy command in the context menu.
Note
Copying the text via the Ctrl+C 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