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.OnCustomDrawHeaderCell Event

In This Article

Enables you to custom paint column headers.

#Declaration

Delphi
property OnCustomDrawHeaderCell: TcxTreeListCustomDrawHeaderCellEvent read; write;

#Remarks

Sender specifies the tree list.

ACanvas specifies the drawing surface.

AViewInfo returns ViewInfo information used to paint the column header.

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 Column Headers help topic.

See Also