Called whenever an item in the tree has been collapsed.
Called whenever an item in the tree has been expanded.