Skip to main content

TcxCustomTreeList.OnCustomDrawPreviewCell Event

Enables you to custom draw preview sections.

Declaration

property OnCustomDrawPreviewCell: TcxTreeListCustomDrawEditCellEvent read; write;

Remarks

Sender specifies the tree list.

ACanvas specifies the drawing surface.

AViewInfo returns ViewInfo information used to paint the preview section.

ADone specifies if built-in draw routines are executed. Set ADone to True to prevent default code execution.

To learn how to handle this event, refer to the How To Custom Paint Previews help topic.

See Also