dbicList Send comments on this topic.
UserDrawnCell Event
See Also 
dbicBase Assembly > Dbi.WinControl Namespace > DbiListControl Class : UserDrawnCell Event

Event fired before a cell is drawn, allowing the developer to customize the display.

Syntax

Visual Basic (Declaration) 
Public Event UserDrawnCell As DbiListControl.EventUserDrawnCellHandler
C# 
public event DbiListControl.EventUserDrawnCellHandler UserDrawnCell

Event Data

The event handler receives an argument of type UserDrawnCellEventArgs containing data related to this event. The following UserDrawnCellEventArgs properties provide information specific to this event.

PropertyDescription
ColumnIndex The zero-based index of the dbiColumnItem where the cell is being drawn.
ColumnItem The dbiColumnItem where the cell is being drawn.
Graphics A handle to the graphics object responsible for drawing the cell. Through the e.Graphics object the developer has access to the GDI+ methods for drawing objects to a display device.
NodeItem The dbiNodeItem that contains the cell being drawn.
PaintCell Determines if the internal routines of the control should draw the cell. When the PaintCell property is set to False the control does not execute its internal paint routine and the developer has control over the painting of the cell.
Rect A rectangle representing the area being painted in the control.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also