Skip to main content

TcxMCListBoxReportLink.OnCustomDrawItem Event

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

Declaration

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