Skip to main content
Version: 3.5

DataGridViewCellPaintEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides data for CellPaint event.

public class DataGridViewCellPaintEventArgs : PaintEventArgs

Constructors

Instance memberDataGridViewCellPaintEventArgs(columnIndex, rowIndex, graphics, clipRect)

Initializes a new instance of the DataGridViewCellPaintEventArgs class.

NameTypeDescription
columnIndexInt32The index of the column containing the cell that the event occurs for.
rowIndexInt32The index of the row containing the cell that the event occurs for.
graphicsGraphicsThe Graphics used to paint the item.
clipRectRectangleThe Rectangle that represents the rectangle in which to paint.

Throws:

Properties

Instance memberColumnIndex

Int32: Returns a value indicating the column index of the cell that the event occurs for.

Instance memberRowIndex

Int32: Returns a value indicating the row index of the cell that the event occurs for.

Used By

NameDescription
DataGridViewCellPaintEventHandlerRepresents the method that will handle CellPaint events.