Constructors

CellPaintEventArgs

#
public CellPaintEventArgs(Graphics graphics, RectangleF clipRectangle, CellStates cellState, object item)
Initializes a new instance of the DrawableCellPaintEventArgs class.
graphics (Graphics)Graphics context for drawing.
clipRectangle (RectangleF)Clip rectangle for the cell's region.
cellState (CellStates)State of the cell.
item (object)Item from the data store for the row that is being painted.

Properties

ClipRectangle

public RectangleF ClipRectangle { get; }
Gets the rectangle of the region being painted
inherited fromPaintEventArgs
Remarks: This should be used to optimize what is drawn by only drawing content that intersects with this rectangle.
The clip rectangle for the current paint operation

IsEditing

#
public bool IsEditing { get; }
Gets a value indicating whether the cell is in edit mode.

IsSelected

#
public bool IsSelected { get; }
Gets a value indicating whether the cell is currently selected.