ASPxClientCommandConsts.PASTEHTMLSOURCEFORMATTING_COMMAND Property
In This Article
Identifies a command that pastes the content of the clipboard to the current cursor position, taking into account that the ASPxHtmlEditorHtmlEditingSettings.PasteMode property is set to SourceFormatting.
#Declaration
TypeScript
static PASTEHTMLSOURCEFORMATTING_COMMAND: string
#Property Value
Type | Description |
---|---|
string | Value: “pastehtmlsourceformatting” |
#Remarks
The PASTEHTMLSOURCEFORMATTING_COMMAND property can be used in the following ways.
- In the ASPxClientHtmlEditor.CommandExecuted event — to determine the action performed by an end-user. If the ASPxClientHtmlEditorCommandEventArgs.commandName event parameter returns the PASTEHTMLSOURCEFORMATTING_COMMAND property value, this means that either the Ctrl+V combination was used by an end-user (and the ASPxHtmlEditorHtmlEditingSettings.PasteMode property is set to SourceFormatting), or the Keep Source Formatting item was clicked in the paste options bar.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available only in the Design View.
See Also