Defines the display direction and visual appearance on a bi-directional system.
Get
| C# | bool Boolean = object.RightToLeft; bool Boolean = object.CtlRightToLeft; |
| VB.NET | Boolean = object.RightToLeft As Boolean Boolean = object.CtlRightToLeft As Boolean |
| C++ | VARIANT_BOOL Boolean = object->RightToLeft; VARIANT_BOOL Boolean = object->GetRightToLeft(); |
| C | HRESULT object->get_RightToLeft(VARIANT_BOOL* Boolean); |
| VB | Boolean = object.RightToLeft As Boolean |
Put
| C# | bool object.RightToLeft = Boolean; bool object.CtlRightToLeft = Boolean; |
| VB.NET | object.RightToLeft = Boolean As Boolean object.CtlRightToLeft = Boolean As Boolean |
| C++ | VARIANT_BOOL object->RightToLeft = Boolean; void object->PutRightToLeft(VARIANT_BOOL Boolean); |
| C | HRESULT object->put_RightToLeft(VARIANT_BOOL Boolean); |
| VB | object.RightToLeft = Boolean As Boolean |
object
Boolean
Defines the display direction and visual appearance on a bi-directional system.
| Boolean | Description |
|---|---|
| True | The control is used on a bi-directional platform (such as Arabic or Hebrew Windows) and the display direction is right-to-left. |
| False | The display direction is left-to-right. |
The RightToLeft property defines the display direction and visual appearance on a bi-directional system.
If the RightToLeft property is set to True and the control is running on a bi-directional platform (such as Arabic Windows or Hebrew Windows), the tree control will support right-to-left reading with the tree hierarchy displayed on the right hand side of the control and the vertical scroll bar displayed on the left side.
The RightToLeft property automatically resets to False if the current system does not support right-to-left representation (i.e., the current platform is not an Arabic or Hebrew Windows version).
Applications that need to support both Left-To-Right and Right-To-Left environments have to update all orientation-specific properties at run-time.
This property is read-only at run-time.
See Also SftTree Object | Object Hierarchy