.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

ToggleParagraphAlignmentCenterCommand Class

Toggles centered paragraph alignment on and off.

Namespace: DevExpress.XtraRichEdit.Commands

Assembly: DevExpress.RichEdit.v20.2.Core.dll

Declaration

public class ToggleParagraphAlignmentCenterCommand :
    ToggleChangeParagraphFormattingCommandBase<ParagraphAlignment>
Public Class ToggleParagraphAlignmentCenterCommand
    Inherits ToggleChangeParagraphFormattingCommandBase(Of ParagraphAlignment)

Remarks

Set the Paragraph.Alignment or the ParagraphPropertiesBase.Alignment API property to ParagraphAlignment.Center, to achieve the same result.

Inheritance

Object
Command
DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId>
RichEditCommand
DevExpress.XtraRichEdit.Commands.SelectionBasedCommandBase
SelectionBasedPropertyChangeCommandBase
DevExpress.XtraRichEdit.Commands.ChangeParagraphFormattingCommandBase<DevExpress.XtraRichEdit.Model.ParagraphAlignment>
DevExpress.XtraRichEdit.Commands.ToggleChangeParagraphFormattingCommandBase<DevExpress.XtraRichEdit.Model.ParagraphAlignment>
ToggleParagraphAlignmentCenterCommand
See Also