xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-305b7338.md
Specifies the position of controls within report bands.
Namespace : DevExpress.XtraReports.UI
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
[DefaultValue(RightToLeftLayout.No)]
[PropertyGridTab(ReportStringId.UD_PropertyGrid_TabAppearance)]
[SRCategory(ReportStringId.CatPrinting)]
public RightToLeftLayout RightToLeftLayout { get; set; }
<SRCategory(ReportStringId.CatPrinting)>
<PropertyGridTab(ReportStringId.UD_PropertyGrid_TabAppearance)>
<DefaultValue(RightToLeftLayout.No)>
Public Property RightToLeftLayout As RightToLeftLayout
| Type | Default | Description |
|---|---|---|
| RightToLeftLayout | No |
A RightToLeftLayout enumeration value.
|
Available values:
| Name | Description |
|---|---|
| No |
The right-to-left feature is disabled.
| | Yes |
The right-to-left feature is enabled.
|
This property is in effect only when the XtraReport.RightToLeft property is set to RightToLeft.Yes.
Enabling the right-to-left layout will also swap the page margins of a document (it will become impossible to place controls outside the right page margin).
The controls’ coordinates will remain unchanged and only the point and direction of reference will change (the X coordinate will be calculated starting with the top right corner). In a report designer (for WinForms and ASP.NET), this will be reflected in the horizontal ruler direction.
To learn more, see Right-To-Left Support.
See Also