The ExpandMode property controls the expand/collapsing behavior of the individual panels when the user click on the Group button.
PanelBar is capable of several types of expand/collapse operation.
- Single Group, Calculated Height
Only one panel may be expanded at a time. The height of the PanelBar is determined with static or dynamic variables. The Items within each panel can be scrolled if necessary.
- Single Group, Content Height
Only one panel may be expanded at a time. The height of the PanelBar is determined by the content within the expanded panel.
- Multiple Groups, Content Height
Each panel can expand or collapse independant from one another. The height of the PanelBar is determined by the content within the expanded panels.