Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTreeList.OnCustomDrawPreviewCell Event

In This Article

Enables you to custom draw preview sections.

#Declaration

Delphi
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