TcxCustomListView.OnDrawItem Event
In This Article
Occurs when an item must be drawn within a list view.
#Declaration
Delphi
property OnDrawItem: TLVDrawItemEvent read; write;
#Remarks
The OnDrawItem event occurs when an item must be drawn within a list view. Unlike the custom draw events, the OnDrawItem event is received only if the OwnerDraw property is set to True. The custom draw events occur at more points during the paint process and there is a difference in information provided on drawn item state.
Parameter | Meaning |
---|---|
Sender | The Tcx |
Item | The item, which is redrawn. |
Rect | The rectangle, in which the item is drawn. |
State | The state of the item (e. |
See Also