The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

TablePropertiesBase.RightToLeftTableLayout Property

Specifies whether to change the table layout's direction to right-to-left.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

bool? RightToLeftTableLayout { get; set; }
Property RightToLeftTableLayout As Boolean?
bool? RightToLeftTableLayout { get; set; }
Property RightToLeftTableLayout As Boolean?
bool? RightToLeftTableLayout { get; set; }
Property RightToLeftTableLayout As Boolean?

Property Value

Type Description
Nullable<Boolean>

true, to change the table direction, false to keep the left-to-right direction, or null (Nothing for VB) for a mixture of states.

Property Value

Type Description
Nullable<Boolean>

true, to change the table direction, false to keep the left-to-right direction, or null (Nothing for VB) for a mixture of states.

Property Value

Type Description
Nullable<Boolean>

true, to change the table direction, false to keep the left-to-right direction, or null (Nothing for VB) for a mixture of states.

Remarks

Setting the RightToLeftTableLayout property to true reorders table columns and applies the table indent (specified by the Table.Indent property) to the right side of the table. The image below shows the resulting table appearance:

IMAGE

Use the ParagraphPropertiesBase.RightToLeft property to change the reading order of cells' content. You can specify this property for a given paragraph or as a table style parameter, as shown below:

document.BeginUpdate();
// Create a new table style:
TableStyle tStyleMain = document.TableStyles.CreateNew();

//Set the table layout and content's reading order:
tStyleMain.RightToLeft = true;
tStyleMain.RightToLeftTableLayout = true;

tStyleMain.Name = "MyTableStyle";

//Add the style to the collection:
document.TableStyles.Add(tStyleMain);
document.EndUpdate();
See Also