Skip to content

RightToLeft Property

Description

Gets or sets a value indicating whether the TabControl 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 TabControl (Button Order, Navigation Buttons, etc.) are displayed from right to left.

Example

This sample illustrates how to enable RTL mode for the TabControl.

' Set the TabControl to RTL mode
TabControl.RightToLeft = True

See Also

TabControl Control


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.