Back to Devexpress

TdxRichEditControlToggleParagraphAlignmentLeft Class

vcl-dxrichedit-dot-actions-7b45445d.md

latest3.7 KB
Original Source

TdxRichEditControlToggleParagraphAlignmentLeft Class

An action object that corresponds to the ToggleParagraphAlignmentLeft command provided by the Rich Edit control.

Declaration

delphi
TdxRichEditControlToggleParagraphAlignmentLeft = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleParagraphAlignmentLeft action object aligns text to the left document margin within either the selected paragraph(s) or a paragraph in which the caret is located. If the current paragraph is already aligned to the left document margin, the ToggleParagraphAlignmentLeft command can do one of the following:

  • Restore the previous paragraph alignment setting.
  • Justify text within the current paragraph between the left and right document margins provided that the paragraph has no previous alignment setting.

UI elements linked to a TdxRichEditControlToggleParagraphAlignmentLeft action object are enabled only if the following conditions are met:

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlToggleParagraphAlignmentLeft

See Also

TdxRichEditControlToggleParagraphAlignmentCenter

TdxRichEditControlToggleParagraphAlignmentJustify

TdxRichEditControlToggleParagraphAlignmentRight

TdxRichEditControlToggleParagraphAlignmentLeft Members

dxRichEdit.Actions Unit