Skip to main content
.NET Framework Class Library
TabControl..::.RightToLeftLayout Property

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

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Syntax
Public Overridable Property RightToLeftLayout As Boolean
public virtual bool RightToLeftLayout { get; set; }
public:
virtual property bool RightToLeftLayout {
	bool get ();
	void set (bool value);
}
abstract RightToLeftLayout : bool with get, set
override RightToLeftLayout : bool with get, set

Property Value

Type: System..::.Boolean
true if right-to-left mirror placement is turned on; false for standard child control placement. The default is false.
Remarks

The RightToLeftLayout property is primarily useful for developing forms for worldwide audiences. Many containers are designed so that controls are laid out in the container in a left-to-right fashion. These containers are compatible with languages that follow this writing direction. However, when you display the same containers to users of right-to-left languages, it is often preferable to reverse the order of the controls on the form. If both the RightToLeftLayout and RightToLeft properties are true, mirroring will be turned on for the container and control placement and text flow will be right-to-left.

Changing the value of this property raises the RightToLeftLayoutChanged event.

For more information about globalization issues, see Best Practices for Developing World-Ready Applications.

Version Information

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Platforms

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.