Skip to main content

ASPxClientHtmlEditorBeforePasteEventArgs.commandName Property

Gets the name of the processed command.

Declaration

commandName: string

Property Value

Type Description
string

A string value identifying the command’s name.

Remarks

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