DateNavigatorLegend

This UI element is deprecated. Instead, use UI element Legend.
The DateNavigatorLegend element (IWDDateNavigatorLegend) allows you to add a legend using the DateNavigator. You can use this view element with the DateNavigatorMarking view element to highlight calendar entries and to associate them with the legend entries. A maximum of four legend entries can be used, according to the categories described below. Legend entries are stored as elements of a context node. Each highlighting of a date is stored in a separate context node. If the value of the category attribute equals the value of the legend item category, the category refers to the corresponding legend item.
Runtime Class |
CL_WD_DATE_NAV_LEGEND |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDUI_DATE_MARKING_CATEGORY |
one |
Mandatory |
|
Context Node |
|
Mandatory |
|
Translatable text |
|
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |

Other properties that can be inherited are defined in the associated higher-level classes. The associated UI elements are:
For dynamic programming, the same properties, events and aggregations are available as in View Designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
CATEGORY |
WDUI_DATE_MARKING_CATEGORY |
|
category: four |
CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-FOUR |
|
category: one |
CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-ONE |
|
category: three |
CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-THREE |
|
category: two |
CL_WD_DATE_NAV_LEGEND=>E_CATEGORY-TWO |
|
DATA_SOURCE |
OBJECT |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection: inherit |
CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-INHERIT |
|
textDirection: ltr |
CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-LTR |
|
textDirection: rtl |
CL_WD_DATE_NAV_LEGEND=>E_TEXT_DIRECTION-RTL |
|