Identifies a command that changes the color of a fore color pickers and sets the selected text fore color.
static FONTCOLOR_COMMAND: string
The FONTCOLOR_COMMAND property can be used in the following ways.
In the ASPxClientHtmlEditor.ExecuteCommand method — to execute the command manually.
In this case, the method requires an additional parameter, which is a string representing a color (in any correct format) to be assigned to the fore color pickers (ToolbarFontColorButton, HEFontColorRibbonCommand) and the selected text. You can also execute the method without a parameter to apply the color currently chosen in the fore color pickers to the selected text without changing it.
//sets the color of the ToolbarFontColorButtonand the selected text fore color to red htmlEditor.ExecuteCommand(ASPxClientCommandConsts.FONTCOLOR_COMMAND, '#ff0000');
This command is available only in the Design View.