Show TOC

Background documentationLabel Locate this document in the navigation structure

 

The Label UI element is used for labeling other UI elements. Therefore, it is always associated with another UI elements. This UI element ensures accessibility of the Web Dynpro application. The appearance is defined by the design property. You can also define other UI elements as label. These include the following UI elements: DropDownByIndex, DropDownByKey, ToolBarDropDownByIndex, ToolBarDropDownByKey.

Description of the Properties

design

Specifies the design of the UI element. The design property can be filled with the values emphasized, light, standard and is represented by the enumeration type WDLabelDesign.

labelFor

Specifies the ID of the UI element to be labeled.

text

Label text.

textDirection

Specifies the text direction and allows you to use label UI elements for texts in languages which require a specific text direction. The textDirection property is represented by the enumeration type WDTextDirection.

labelFor

Specifies the ID of the UI element to be labeled. Since the relationship between Label UI element and associated UI element is specified by the static layout of a view, the labelFor property is not defined as bindable.

text

Label text.

textDirection

Specifies the text direction and allows you to use Label UI elements for texts in languages which require a specific text direction. The textDirection property is represented by the enumeration type WDTextDirection

width

Specifies the width of the Label UI element and can be specified in CSS units like em, ex, pixels, or percentage.

wrapping

Indicates whether or not the text is wrapped. If the value is false, the text is not wrapped.