Skip to main content
.NET Framework 4.5.2+

ReadOnlyParagraphPropertiesBase.Alignment Property

Gets the text alignment within the current paragraph.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


ParagraphAlignment Alignment { get; }

Property Value

Type Description

One of the ParagraphAlignment enumeration values indicating the text alignment.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Alignment property.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also