!--a11y-->
ViewSwitch 
You can use a ViewSwitch to toggle between various views in a Contextual Panel.
Runtime Class |
CL_WD_VIEW_SWITCH |
Properties in View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDY_BOOLEAN |
true |
Yes |
|
Context Node |
|
Mandatory |
|
Translatable text |
|
Yes |
|
WDY_BOOLEAN |
true |
Yes |
Events in View Designer
Name |

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 the View Designer. Bear in mind the different spellings.
Dynamic Programming of Properties
View Designer Name |
Runtime Name |
Type |
ITEM_ENABLED |
WDY_BOOLEAN |
|
ITEM_SOURCE |
OBJECT |
|
ITEM_TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
ITEM_VISIBLE |
WDY_BOOLEAN |
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_SELECT |