Skip to main content
All docs
V23.2

TableCell.TextDirection Property

Gets or sets the content direction in a table cell.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

TextDirection TextDirection { get; set; }

Property Value

Type Description
TextDirection

An enumeration value that specifies the direction of cell content.

Available values:

Name Description
Horizontal

Content flows horizontally from left to right. The first line is at the top. (lr-tb)

Downward

Content is rotated 90 degrees to the right and flows from top to bottom. The first line is on the right. (tb-rl)

VerticalRotatedFarEast

Content flows from top to bottom, the first line is on the left. East Asian characters appear vertical, other content is rotated 90 degrees to the right. (tb-lr-v)

Upward

Content is rotated 90 degrees to the left and flows from bottom to top. The first line is on the left. (bt-lr)

HorizontalRotatedFarEast

East Asian characters are rotated 90 degrees to the left, other content is arranged horizontally (lr-tb-v).

VerticalFarEast

Content flows from top to bottom, the first line is on the right. East Asian characters appear vertical. Other content is rotated 90 degrees to the right. (tb-rl-v)

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

Note

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