'Declaration Public Event OwnerDrawCellPrint As OwnerDrawCellEventHandler
public event OwnerDrawCellEventHandler OwnerDrawCellPrint
Event Data
The event handler receives an argument of type OwnerDrawCellEventArgs containing data related to this event. The following OwnerDrawCellEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CellRect | The bounding rectangle for the cell that needs to be rendered. |
Col | The index of the column in the DisplayColumns collection. |
Column | The C1DisplayColumn being rendered. |
DrawCellFlags | Indicates whether the custom renderer handles the background, border or content. |
Graphics | The GDI+ graphics object to render on. |
Handled | Indicates whether the event code rendered the cell. |
Row | The index of the row for the cell being rendered. |
Split | The index of the split for the cell being rendered. |
Style | The Style used to render the cell. |
Text | The text of the cell. |
See Also