ASPxClientHtmlEditorBeforePasteEventArgs.commandName Property

Gets the name of the processed command.


commandName: string

Property Value

Type Description

A string value identifying the command's name.


Use the commandName property to identify the command currently being processed. The property can return the following command names

  • pastehtmlsourceformatting - HTML code is pasted in the SourceFormatting mode.
  • pastehtmlmergeformatting - HTML code is pasted in the MergeFormatting mode.
  • pastehtmlplaintext - HTML code is pasted in the PlainText mode.

The ASPxClientHtmlEditor.BeforePaste event fires before an HTML code is pasted to the editor in the following cases.

See Also