RightToLeft Property (Label Control)

       

Bidirectional Features

The Label control has configurable label text alignment and reading order.

Label controls are initially created with a layout determined by the default RightToLeft property setting of their parent form.

When the RightToLeft property is set to True:

When the RightToLeft property to set to False:

Subsequently, caption reading order and alignment behavior are independently controlled by setting RightToLeft and Alignment. The Alignment and RightToLeft properties can be set in design time or run time.

Developer's Tip

Whenever wordwrap occurs (Autosize and WordWrap properties of the Label control are both set True, or Autosize property is False), alignment of wrapped lines is determined by the Alignment property.