Assembly: System.Windows.Forms (in system.windows.forms.dll)
/** @property */ public RightToLeft get_RightToLeft () /** @property */ public void set_RightToLeft (RightToLeft value)
public function get RightToLeft () : RightToLeft public function set RightToLeft (value : RightToLeft)
Property ValueOne of the RightToLeft values. The default is Inherit.
The assigned value is not one of the RightToLeft values.
The RightToLeft 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 RightToLeft 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 RightToLeft 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 RightToLeft 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.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.