The ExpandableTitle element can be used in FreeContextualArea and in NavigationList. This element defines an area, where a title is displayed. If the value of the expandable property is set to true, a small icon is displayed too, which allows the user to expand and collapse the content area of the UI element to which the ExpandableTitle is assigned.
The following screenshot illustrates the ExpandableTitle. expandable is set to true, and both values of expanded are shown.
● expandable
Specifies whether the related UI element can be expanded and the corresponding icon is displayed.
● expanded
Specifies whether the assigned area is collapsed or expanded.
● title
Specifies the text.
Name |
Interface |
Type |
Initial Value |
Bindable |
expandable |
IWDExpandableTitle |
boolean |
false |
bindable |
expanded |
IWDExpandableTitle |
boolean |
true |
bindable |
Title |
IWDExpandableTitle |
String |
|
bindable |
● onToggle(boolean expanded)
Event onToggle is triggered if the tray is toggled (collapsed or expanded). Event parameter is the new expansion state.