!--a11y-->
TriStateCheckBox 
This UI element is similar to a CheckBox, with the difference that the clicked on status is variable:
· Option can be activated (selected)
· Option cannot be activated (not selected)
· Option is unspecified
Examples of the Display
|
Selected |
Not Selected |
Not Specified |
|
|
|
|
Runtime Class |
CL_WD_TRI_STATE_CHECKBOX |
Properties in the View Designer
Name |
Type |
Initial Value |
Bindable |
ID |
STRING |
(automatic) |
No |
WDUI_TRI_STATE |
true |
mandatory |
|
WDY_BOOLEAN |
true |
Yes |
|
Text |
|
No |
|
WDY_BOOLEAN |
false |
Yes |
|
WDUI_STATE |
normal |
Yes |
|
Text |
|
Yes |
|
WDUI_TEXT_DIRECTION |
inherit |
Yes |
|
Text |
|
Yes |
|
WDUI_VISIBILITY |
visible |
Yes |
Events in the View Designer
Name |

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 |
CHECKED |
WDUI_TRI_STATE |
|
checked: false |
CL_WD_TRI_STATE_CHECKBOX=>E_CHECKED-FALSE |
|
checked: true |
CL_WD_TRI_STATE_CHECKBOX=>E_CHECKED-TRUE |
|
checked: undecided |
CL_WD_TRI_STATE_CHECKBOX=>E_CHECKED-UNDECIDED |
|
ENABLED |
WDY_BOOLEAN |
|
EXPLANATION |
WDY_MD_TRANSLATABLE_TEXT |
|
READ_ONLY |
WDY_BOOLEAN |
|
STATE |
WDUI_STATE |
|
state: normal |
CL_WD_TRI_STATE_CHECKBOX=>E_STATE-NORMAL |
|
state: required |
CL_WD_TRI_STATE_CHECKBOX=>E_STATE-REQUIRED |
|
TEXT |
WDY_MD_TRANSLATABLE_TEXT |
|
TEXT_DIRECTION |
WDUI_TEXT_DIRECTION |
|
textDirection: inherit |
CL_WD_TRI_STATE_CHECKBOX=>E_TEXT_DIRECTION-INHERIT |
|
textDirection: ltr |
CL_WD_TRI_STATE_CHECKBOX=>E_TEXT_DIRECTION-LTR |
|
textDirection: rtl |
CL_WD_TRI_STATE_CHECKBOX=>E_TEXT_DIRECTION-RTL |
|
TOOLTIP |
WDY_MD_TRANSLATABLE_TEXT |
|
VISIBLE |
WDUI_VISIBILITY |
|
visible: none |
CL_WD_TRI_STATE_CHECKBOX=>E_VISIBLE-NONE |
|
visible: visible |
CL_WD_TRI_STATE_CHECKBOX=>E_VISIBLE-VISIBLE |
|
Dynamic Programming of Events
View Designer Name |
Runtime Name |
ON_TOGGLE |