Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraTabControl.RightToLeftLayout Property

Gets or sets whether right-to-left mirror placement is turned on.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean RightToLeftLayout { get; set; }

#Property Value

Type Default Description
DefaultBoolean Default

A DefaultBoolean enumeration value that specifies whether right-to-left mirror placement is turned on.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

#Remarks

Using the Control.RightToLeft inherited property, you can align the XtraTabControl‘s visual elements to support locales using right-to-left fonts. If this setting is enabled for the current tab control, it is automatically inherited by child controls that reside in tab pages.

Also, you can enable the right-to-left alignment for all DevExpress controls in a centralized way using the WindowsFormsSettings.RightToLeft property. The WindowsFormsSettings.RightToLeft property has priority over the Control.RightToLeft property.

By default, if the right-to-left alignment is enabled, the XtraTabControl automatically enables the mirror placement of its tab headers. In the figures below, you can see the regular and mirror tab placement.

XtraTabControl_LTR

XtraTabControl_RTL

The RightToLeftLayout property allows you to explicitly specify whether right-to-left mirror placement is turned on for the current tab control.

See Also