DXRichEditBehaviorOptions.EastAsianTextAlignment Property

Specifies whether the Distribute and Thai Distribute alignment operations are permitted.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v20.1.dll

Declaration

public DocumentCapability EastAsianTextAlignment { get; set; }
Public Property EastAsianTextAlignment As DocumentCapability

Property Value

Type Description
DocumentCapability

A DocumentCapability enumeration value.

Property Paths

You can access this nested property as listed below:

Object Type Path to EastAsianTextAlignment
RichEditControl
.BehaviorOptions.EastAsianTextAlignment

Remarks

The EastAsianTextAlignment property affects the behavior of the following commands:

  • ToggleParagraphAlignmentDistributeCommand

  • ToggleParagraphAlignmentThaiDistributeCommand

They are executed by the Distribute and Thai Distribute buttons on the Home ribbon tab. These items are also available in the Alignment drop-down list in the Paragraph dialog.

IMAGE

These UI items are visible to users who have East-Asian languages installed on their machine.

Use the DXRichEditBehaviorOptions.RightToLeftTextDirection option to manage the availability of the ToggleParagraphRightToLeftCommand, ToggleParagraphLeftToRightCommand commands, and commands executed by the Justify drop-down list's items.

The DXRichEditDocumentCapabilitiesOptions.ParagraphFormatting property also affects the availability of the above-mentioned commands. The EastAsianTextAlignment property has a priority over the ParagraphFormatting option.

See Also