Skip to main content

TdxCustomTreeView.OnGetImageIndex Event

Allows you to specify an image for the node.

Declaration

property OnGetImageIndex: TdxTreeViewGetImageIndexEvent read; write;

Remarks

This event occurs every time the Tree View control redraws a node. Assign an image index to the AImageIndex parameter to display the corresponding image from the image source in a node passed as the ANode parameter.

Refer to the TdxTreeViewGetImageIndexEvent type description for an OnGetImageIndex event handler example and information on available options.

See Also