RightToLeft Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
Fields
Inherit | 2 | The direction the text read is inherited from the parent control. |
No | 0 | The text reads from left to right. This is the default. |
Yes | 1 | The text reads from right to left. |
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기