!--a11y-->
DateNavigatorLegend 
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 entry category, the category refers to the corresponding legend entry.
Runtime Class |
CL_WD_DATE_NAV_LEGEND |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDUI_DATE_MARKING_CATEGORY |
one |
mandatory |
|
context node |
|
mandatory |
|
Text |
|
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |

Further properties that can be inherited are defined in the associated higher-level class. The associated interface elements are:
For dynamic programming the same properties, events, and aggregations are provided in the 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 |
|