Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.
public enum class RightToLeft
public enum RightToLeft
type RightToLeft =
Public Enum RightToLeft
|Inherit Inherit Inherit Inherit||2||
The direction the text read is inherited from the parent control.
|No No No No||0||
The text reads from left to right. This is the default.
|Yes Yes Yes Yes||1||
The text reads from right to left.
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
No, depending on the value that you assigned to the RightToLeft property of your derived class.
For more information about how enabling right-to-left alignment affects Windows Forms controls, see the Control.RightToLeft property.