Skip to main content

TcxTreeListIsGroupNodeEvent Type

The procedural type for node group state definition events.

Declaration

TcxTreeListIsGroupNodeEvent = procedure(Sender: TcxCustomTreeList; ANode: TcxTreeListNode; var IsGroup: Boolean) of object;

Parameters

Name Type Description
Sender TcxCustomTreeList

Provides access to the tree list control that raised the current node group state definition event.

To access all public API members, cast the Sender parameter value to one of the following classes depending on the actual tree list type:

TcxTreeList
A control that displays data in a tree-like manner.
TcxDBTreeList
A data-aware version of the TreeList control.
TcxVirtualTreeList
A TreeList control used in provider mode.

Tip

TO identify the tree list control type, call the Sender.ClassType function.

ANode TcxTreeListNode

Provides access to the currently processed tree list node.

IsGroup Boolean
  • If True, the currently processed node (ANode) is a group node.
  • If False, the currently processed node is an ordinary node.

Remarks

This event occurs every time a tree list control is about to determine the group state of a node.

TcxTreeListIsGroupNodeEvent

The TcxCustomTreeList.OnIsGroupNode event references the TcxTreeListIsGroupNodeEvent procedural type.

See Also