MultipleLegendItem API
Definition
A MultipleLegendItem offers the option of providing several LegendItems by binding them to a context node.
Description of Properties
- dataSource
Determines the context node that stores the MultipleLegendItem.
- imageSource
defines the path to the image source.
More Information: Specifying the Image Source
- semantics
Specifies the color of the MultipleLegendItem. The cellDesignproperty is represented by enumeration type WDTableCellDesign.
The enumeration values are described in: WDTableCellDesign
- striped
Specifies whether the icon will be rendered striped. A specified value of imageSource property will be ignored.
- text
Determines the text of the MultipleLegendItem.
- textDirection
Specifies the text direction and allows you to use a MultipleLegendItem for texts in languages which require a specific text direction. The textDirection property can be filled with the following values and is represented by the enumeration type WDTextDirection.
inherit
The text direction is inherited from the parent element. Therefore, the text direction is identical to the one of the parent element.
ltr
The text runs from left to right.
rtl
The text runs from right to left.
The default value for this property is inherit.
- tooltip
Specifies the note for the UI element that is displayed when the user places the cursor on the UI element.
- visible
Determines whether the MultipleLegendItem is visible.
Properties Overview
|
Name |
Interface |
Type |
Initial Value |
Bindable |
|
dataSource |
IWDMultipleLegendItem |
Object |
|
bindable_mandatory |
|
imageSource |
IWDLegendItem |
String |
|
bindable |
|
semantics |
IWDLegendItem |
WDTableCellDesign |
standard |
bindable |
|
striped |
IWDLegendItem |
boolean |
false |
bindable |
|
text |
IWDAbstractLegendItem |
String |
|
bindable |
|
textDirection |
IWDAbstractLegendItem |
WDTextDirection |
inherit |
bindable |
|
tooltip |
IWDAbstractLegendItem |
String |
|
bindable |
|
visible |
IWDAbstractLegendItem |
boolean |
true |
bindable |