xtd 0.2.0
Loading...
Searching...
No Matches

◆ right_to_left

enum class xtd::forms::right_to_left
strong

Specifies a value indicating whether the text appears from right to left, such as when using Hebrew or Arabic fonts.

Header
#include <xtd/forms/right_to_left>
Namespace
xtd::forms
Library
xtd.forms
Remarks
This enumeration is used by xtd::forms::context_menu, xtd::forms::main_menu, xtd::forms::progress_bar, and xtd::forms::control.
When you retrieve the value of the RightToLeft property from xtd::forms::context_menu, xtd::forms::main_menu, and xtd::forms::progress_bar you will get the value of xtd::forms::right_to_left you assigned. In contrast, if you are deriving your own class from xtd::forms::control, and you assign a value of Inherit to the xtd::forms::control::right_to_left property, the value returned will be the setting of the xtd::forms::control::right_to_left property of the parent control. If there is no parent control, it will return a value of xtd::forms::right_to_left::no. Otherwise, it will return a value of xtd::forms::right_to_left::yes or xtd::forms::right_to_left::no, depending on the value that you assigned to the xtd::forms::control::right_to_left property of your derived class.
Note
For more information about how enabling right-to-left alignment affects Windows Forms controls, see the xtd::forms::control::right_to_left property.
Enumerator
no 

The text reads from left to right. This is the default.

yes 

The text reads from right to left.

inherit 

The direction the text read is inherited from the parent control.