Skip to main content

TcxCustomTreeList.OnGetLevelImages Event

Enables you to associate certain node image collections with the corresponding node levels.

Declaration

property OnGetLevelImages: TcxTreeListGetLevelImagesEvent read; write;

Remarks

Default collections of appropriate node images for all nodes are specified using the tree list’s Images and StateImages properties. The OnGetLevelImages event fires every time when node image collections are about to be assigned for a node level. You can handle this event to display nodes with different image sizes.

Sender specifies the tree list.

ALevel specifies the node level.

AImages specifies the collection of node images.

AStateImages specifies the collection of node state images.

See Also