Back to Devexpress

XtraReport.RightToLeftLayout Property

xtrareports-devexpress-dot-xtrareports-dot-ui-dot-xtrareport-305b7338.md

latest2.6 KB
Original Source

XtraReport.RightToLeftLayout Property

Specifies the position of controls within report bands.

Namespace : DevExpress.XtraReports.UI

Assembly : DevExpress.XtraReports.v25.2.dll

NuGet Package : DevExpress.Reporting.Core

Declaration

csharp
[DefaultValue(RightToLeftLayout.No)]
[PropertyGridTab(ReportStringId.UD_PropertyGrid_TabAppearance)]
[SRCategory(ReportStringId.CatPrinting)]
public RightToLeftLayout RightToLeftLayout { get; set; }
vb
<SRCategory(ReportStringId.CatPrinting)>
<PropertyGridTab(ReportStringId.UD_PropertyGrid_TabAppearance)>
<DefaultValue(RightToLeftLayout.No)>
Public Property RightToLeftLayout As RightToLeftLayout

Property Value

TypeDefaultDescription
RightToLeftLayoutNo

A RightToLeftLayout enumeration value.

|

Available values:

NameDescription
No

The right-to-left feature is disabled.

| | Yes |

The right-to-left feature is enabled.

|

Remarks

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

RightToLeft

Right-To-Left Support

XtraReport Class

XtraReport Members

DevExpress.XtraReports.UI Namespace