All pages
Powered by GitBook
1 of 1

Loading...

DataGridViewCellPaintEventArgs

Wisej.Web.DataGridViewCellPaintEventArgs

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

  • PaintEventArgs

    • DataGridViewCellPaintEventArgs

Provides data for CellPaint event.

Constructors

DataGridViewCellPaintEventArgs(columnIndex, rowIndex, graphics, clipRect)

Initializes a new instance of the class.

Name
Type
Description

Throws:

  • columnIndex is less than -1, or rowIndex is less than -1.

Properties

ColumnIndex

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

RowIndex

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

Used By

Name
Description

The that represents the rectangle in which to paint.

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.

DataGridViewCellPaintEventHandler

Represents the method that will handle CellPaint events.

Public Class DataGridViewCellPaintEventArgs
    Inherits PaintEventArgs
DataGridViewCellPaintEventArgs
ArgumentOutOfRangeException
Int32
Int32
public class DataGridViewCellPaintEventArgs : PaintEventArgs

clipRect

Rectangle
Rectangle