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

TcxMCListBoxReportLink.OnCustomDrawItem Event

In This Article

Occurs when an item within a multi-column list box editor is drawn.

#Declaration

Delphi
property OnCustomDrawItem: TcxMCListBoxCustomDrawItemEvent read; write;

#Remarks

To implement custom painting of an item in a multi-column list box editor within the report handle the OnCustomDrawItem.

Parameter Description
ACanvas Determines the drawing surface.
ACol Specifies the column index of an item.
ARow Specifies the row index of an item.
AnItem Provides painting information.
ADone Determines whether the OnCustomDrawItem event handler entirely draws an item. If the ADone parameter is set to True, the default drawing procedure is not called.

Note

The OnCustomDrawItem event is raised only when the SupportedCustomDraw property is set to True.

See Also