Gets or sets a value indicating whether control's elements are aligned to support locales using right-to-left fonts.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The property is an ambient property. An ambient property is a control property that, if not set, is retrieved from the parent control. For example, a Button will have the same BackColor as its parent Form by default. For more information about ambient properties, see the AmbientProperties class or the Control class overview.
The property is used for international applications where the language is written from right to left, such as Hebrew or Arabic. When this property is set to RightToLeft.Yes, control elements that include text are displayed from right to left.
If the value of the property is changed at run time, only raw text without formatting is preserved.
The following are a few examples of how control elements are affected by the property value of RightToLeft.Yes :
Horizontal scroll bars start with the scroll box (thumb) right-aligned.
Items in list box, combo box, and up-down controls are right aligned.
AxHost supports right-to-left alignment; however, the effect on an ActiveX control depends on the extent to which the control author implemented support for right-to-left display.
When overriding the property in a derived class, use the base class's property to extend the base implementation. Otherwise, you must provide all the implementation. You are not required to override both the get and set accessors of the property; you can override only one if needed.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.