DataGridViewCellPaintEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for CellPaint event.
- C#
- VB.NET
public class DataGridViewCellPaintEventArgs : PaintEventArgs
Public Class DataGridViewCellPaintEventArgs
Inherits PaintEventArgs
Constructors
DataGridViewCellPaintEventArgs(columnIndex, rowIndex, graphics, clipRect)
Initializes a new instance of the DataGridViewCellPaintEventArgs class.
| Name | Type | Description |
|---|---|---|
| columnIndex | Int32 | The index of the column containing the cell that the event occurs for. |
| rowIndex | Int32 | The index of the row containing the cell that the event occurs for. |
| graphics | Graphics | The Graphics used to paint the item. |
| clipRect | Rectangle | The Rectangle that represents the rectangle in which to paint. |
Throws:
- ArgumentOutOfRangeException columnIndex is less than -1, or rowIndex is less than -1.
Properties
ColumnIndex
Int32: Returns a value indicating the column index of the cell that the event occurs for.
RowIndex
Int32: Returns a value indicating the row index of the cell that the event occurs for.
Used By
| Name | Description |
|---|---|
| DataGridViewCellPaintEventHandler | Represents the method that will handle CellPaint events. |