void ExpansionPanelCallback(int panelIndex, bool isExpanded)

Signature for the callback that's called when an ExpansionPanel is expanded or collapsed.

The position of the panel within an ExpansionPanelList is given by panelIndex.