Defines whether the control is laid out right to left.
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); |
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); |
object
Boolean
Defines whether the control is laid out right to left.
The RightToLeft property defines whether the control is laid out from right to left. The default is False. p From right to left, a date field control shows its check box, text and buttons mirrored and its dropdown aligns with its right edge by default (DropDownAlignment); a month calendar control mirrors its days, title and navigation buttons, as does the dropdown calendar of a date field control. p The reading order is independent of the culture (Culture). An application usually lays out a control from right to left for a locale whose reading layout is right to left, such as Arabic or Hebrew. p In Windows Forms, the wrapper class names the property CtlRightToLeft, because Control.RightToLeft exists already.
See Also SftCalendar Object | Object Hierarchy | Right-To-Left