Back to API Reference
Class
ToggleStyleCommand
Inherits:TextCommand
Toggles one of the field's own styles on the selection, or as the typing style at a caret, in that style's markup syntax — bold unless another style is chosen. Applies while the field is editable and carries a style the source can toggle; its default title is the style's own label.
public IFormatStyleSource Style{ get; set }Style the command toggles, resolved among the styles the field carries; unassigned never applies.
