ASPxClientCommandConsts.BOLD_COMMAND Property
In This Article
Identifies a command that applies the bold text formatting to the selected text. If it’s already applied, cancels it.
#Declaration
TypeScript
static BOLD_COMMAND: string
#Property Value
Type | Description |
---|---|
string | Value: “bold” |
#Remarks
The BOLD_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 BOLD_COMMAND property value, this means that either the ToolbarBoldButton toolbar item or the HEBoldRibbonCommand 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