RightToLeft Property
Description
Gets or sets a value indicating whether the CommandBars elements are aligned to support locales using right-to-left fonts.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property RightToLeft() As Boolean
Remarks
The RightToLeft property is used for international applications where the language is written from right to left, such as Hebrew or Arabic. When you display these languages, not only must the text flow in the reverse direction from the English language, but also the visual alignment of control elements must be reversed. When this property is set to true, control elements in the GridControl (Column Order, Reading Order, Scrollbars, etc.) are displayed from right to left.
The RightToLeftReading property will change the reading order of the text independently of RightToLeft. When RightToLeft is set to True, RightToLeftReading is also set to True and can be changed if desired.
Example
This sample illustrates how to enable RTL mode for the GridControl.
' Set the GridControl to RTL mode
GridControl.RightToLeft = True
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.