Method CollapseImpl
CollapseImpl(T?, bool)
Implementation of Collapse(T?) and CollapseAll(T?). Performs operation and updates selection if disappeared.
protected void CollapseImpl(T? toCollapse, bool all)
Parameters
toCollapseTThe object to collapse.
allboolTrue to also collapse all children recursively.