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 RightToLeft.Yes, control elements that include text are displayed from right to left.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
If the value of theproperty 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.Yes :property value of
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.
Notes to Inheritors:
When overriding theproperty 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 setaccessors of the property; you can override only one if needed.
Available since 1.1