Back to Devexpress

XtraTabControl.RightToLeftLayout Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-0669fa3a.md

latest3.0 KB
Original Source

XtraTabControl.RightToLeftLayout Property

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

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
public virtual DefaultBoolean RightToLeftLayout { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property RightToLeftLayout As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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

|

Available values:

NameDescriptionReturn 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.

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

See Also

RightToLeft

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace