TCustomShellTreeView.ExpandCollapseMode property
Controls the actions performed when a tree node is expanded or collapsed on the control.
Declaration
property ExpandCollapseMode: TExpandCollapseMode read FExpandCollapseMode write FExpandCollapseMode default ecmRefreshedExpanding;Description
ExpandCollapseMode is a
TExpandCollapseMode property
which determines the actions performed when a tree node is expanded or
collapsed on the tree view control. The default value for the property is
ecmRefreshedExpanding. This value causes the child nodes for a given tree node
to be deleted and recreated when the node is expanded.
See TExpandCollapseMode for the other values allowed in the property, and the corresponding actions performed in the tree node.
ExpandCollapseMode is used in the CanExpand and Collapse methods.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
