Back to Devexpress

RichEditCommands.copy Property

aspnet-js-richeditcommands-cdb66842.md

latest964 B
Original Source

RichEditCommands.copy Property

Gets a command to copy the selected text and place it to the clipboard.

Declaration

ts
get copy(): CopyCommand

Property Value

TypeDescription
CopyCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.copy.execute();

Refer to the following section for more information: Client Commands.

See Also

RichEditCommands Class

RichEditCommands Members