ASPxClientCommandConsts.SUPERSCRIPT_COMMAND Property
Identifies a command that applies the superscript text formatting to the selected text. If it’s already applied, cancels it.
Declaration
static SUPERSCRIPT_COMMAND: string
Property Value
Type | Description |
---|---|
string | Value: “superscript” |
Remarks
The SUPERSCRIPT_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 SUPERSCRIPT_COMMAND property value, this means that either the ToolbarSuperscriptButton toolbar item or the HESuperscriptRibbonCommand ribbon item (depending upon the toolbar mode used) has been manipulated by an end-user.
- In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
Note
This command is available only in the Design View.
See Also