updateClass();
The updateClass method updates item class depending on whether this item is a tree map branch or leaf.
The example of use is given in the page with description of the TreeMapItem.IsLeaf property.
See also:
TreeMapItem