This documentation is archived and is not being maintained.

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

public virtual bool RightToLeftLayout { get; set; }
/** @property */
public boolean get_RightToLeftLayout ()

/** @property */
public void set_RightToLeftLayout (boolean value)

public function get RightToLeftLayout () : boolean

public function set RightToLeftLayout (value : boolean)

Not applicable.

Property Value

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

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0