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)

public virtual bool RightToLeftLayout { 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.

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.

.NET Framework
Available since 2.0
Return to top
Show: