Fires when the user expands or collapses an item.
Parameters
Parameter | Description |
---|---|
Item | The item expanded or collapsed |
Expanded | Determines whether the item is now expanded or collapsed |
Remarks
The OnItemExpand event fires when the user expands or collapses an item, whether by keyboard or mouse. The Item parameter is the key to the item whose expanded state has changed. The Expanded parameter is the item's new expanded state: 1 if expanded or 0 if collapsed.
Example
Transfer Param1 to Item Transfer Param2 to Expanded If Expanded then // The user expanded the item end else // The user collapsed the item end