Method PaintRow
PaintRow(Graphics, int, ListControlItem?, RectD)
Paints a single row in the list control using the specified drawing parameters.
public virtual void PaintRow(Graphics dc, int rowIndex, ListControlItem? item, RectD rectRow)
Parameters
dcGraphicsThe graphics context used to render the row.
rowIndexintThe zero-based index of the row to paint.
itemListControlItemThe item associated with the row to be painted, or null if the row does not correspond to a specific item.
rectRowRectDThe bounding rectangle, in client coordinates, that defines the area of the row to paint.
Remarks
Override this method to customize the appearance of individual rows. The method adapts its painting logic based on the current draw mode and selection state. When overriding, ensure that custom drawing respects the provided drawing context and item state.