[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled to custom draw an item (tree node) on the control.
Source position: comctrls.pp line 3654
protected property TCustomTreeView.OnCustomDrawItem : TTVCustomDrawItemEvent |
OnCustomDrawItem is a TTVCustomDrawItemEvent property with the event handler signalled to custom-draw the tree nodes displayed on the tree view control. OnCustomDrawItem is signalled from the CustomDrawItem method, and occurs during processing performed in the PaintNode method for the control.
Arguments to the event handler include:
If either OnCustomDrawItem or OnAdvancedCustomDrawItem are assigned, the IsCustomDrawn method returns True.
|
Performs custom drawing for a tree node using the event handlers in the control. |
|
|
OnAdvancedCustomDrawItem - event handler for advanced custom drawing item. |
|
|
Returns True if the specified target is custom-drawn. |
|
|
Renders the specified tree node to the canvas for the control. |
|
|
Implements the Paint method for the control. |
|
|
Renders the tree view control. |
|
|
Implements a tree node displayed in a TTreeView control. |
|
|
TTVCustomDrawItemEvent - generic event handling method for Tree View Item custom drawing. |
Version 3.2 | Generated 2024-02-25 | Home |