aspnet-js-aspxclientcommandconsts-dot-copy-underscore-command.md
Identifies a command that copies the selected content.
static COPY_COMMAND: string
| Type | Description |
|---|---|
| string |
Value: “copy”
|
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.
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
See Also