RightToLeft Enumeration
Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
This enumeration is used by ContextMenu, MainMenu, ProgressBar, Regex and Control.
When you retrieve the value of the RightToLeft property from ContextMenu, MainMenu, and ProgressBar you will get the value of RightToLeft you assigned. In contrast, if you are deriving your own class from Control, and you assign a value of Inherit to the RightToLeft property, the value returned will be the setting of the RightToLeft property of the parent control. If there is no parent control, it will return a value of No. Otherwise, it will return a value of Yes or No, depending on the value that you assigned to the RightToLeft property of your derived class.
Note: |
|---|
For more information about how enabling right-to-left alignment affects Windows Forms controls, see the Control.RightToLeft property. |
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: