Uredi

Deli z drugimi prek


TabControl.RightToLeftLayout Property

Definition

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

public:
 virtual property bool RightToLeftLayout { bool get(); void set(bool value); };
public virtual bool RightToLeftLayout { get; set; }
member this.RightToLeftLayout : bool with get, set
Public Overridable Property RightToLeftLayout As Boolean

Property Value

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.

Applies to

See also