The Accordion visualizes a stack of AccordionItems
Accordion with first item selected | allowDeselect=true |
---|---|
|
|
You can insert two different types of items into an Accordion:
AccordionItems are bound to individual context attributes. In this way, the number of displayed steps is defined during runtime. A MultipleAccordionItem is bound to a context node. This allows you to dynamically define the number of displayed items.
If you want to implement drag and drop on the Accordion, you should prefer AccordionItems.
Specifies whether the user can deselect all AccordionItems, so that all items appear as closed.
Specifies whether this Accordion acts as a separate container for hotkeys. If this property is set to true then all hot keys defined within this Accordion will be handled by this Accordion. This defines a new scope for hot keys. More information: Implementing Hot Keys .
Specifies the ID of the selected AccordionItem.
Name |
Interface |
Type |
Initial Value |
Bindable |
allowDeselect |
IWDAccordion |
boolean |
false |
bindable |
contextMenuBehaviour |
IWDContextMenuProvider |
WDContextMenuBehaviour |
inherit |
not bindable |
contextMenuId |
IWDContextMenuProvider |
String |
|
not bindable |
enabled |
IWDUIElement |
boolean |
true |
bindable |
fireExitEvent |
IWDViewElement |
boolean |
false |
not bindable |
handleHotkeys |
IWDAccordion |
boolean |
true |
not bindable |
selectedItem |
IWDAccordion |
String |
|
bindable |
tooltip |
IWDUIElement |
String |
|
bindable |
visible |
IWDUIElement |
WDVisibility |
visible |
bindable |
More information: Common UI Element Properties
This event is triggered if the user drops an AccordionItem or any other content on this Accordion.
The parameters are:
This event is triggered after a user has selected another AccordioNItem or deselected the current AccordionItem. If another AccordionItem is selected event will be fired only once.