Fires when the user expands or collapses an item.

Parameters

ParameterDescription
ItemThe item expanded or collapsed
ExpandedDetermines 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

See Also

ItemExpanded

  • No labels