Back to Devexpress

TdxRichEditControlToggleParagraphAlignmentJustify Class

vcl-dxrichedit-dot-actions-e93dec50.md

latest3.7 KB
Original Source

TdxRichEditControlToggleParagraphAlignmentJustify Class

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

Declaration

delphi
TdxRichEditControlToggleParagraphAlignmentJustify = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlToggleParagraphAlignmentJustify action object justifies text within either the selected paragraph(s) or a paragraph in which the caret is located. If the current paragraph is already justified, the ToggleParagraphAlignmentJustify command can do one of the following:

  • Restore the previous paragraph alignment setting.
  • Reset the default paragraph alignment (i.e., align text to the left document margin) if the current paragraph has no previous alignment setting.

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

Inheritance

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxRichEditControlAction TdxRichEditControlToggleParagraphAlignmentJustify

See Also

TdxRichEditControlToggleParagraphAlignmentCenter

TdxRichEditControlToggleParagraphAlignmentLeft

TdxRichEditControlToggleParagraphAlignmentRight

TdxRichEditControlToggleParagraphAlignmentJustify Members

dxRichEdit.Actions Unit