ToggleParagraphAlignmentCenterCommand Class
Toggles centered paragraph alignment on and off.
Namespace: DevExpress.XtraRichEdit.Commands
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
public class ToggleParagraphAlignmentCenterCommand :
ToggleChangeParagraphFormattingCommandBase<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