New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the CellPaint event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCellPaintEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCellPaintEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewCellPaintEventArgs class.

C#
public GridViewCellPaintEventArgs(GridCellElement cell, Graphics graphics)
Parameters:cellGridCellElement

The cell element to be painted

graphicsGraphics

The Graphics object used to paint the cell

Fields

Gets the Cell Element to be painted

C#
public readonly GridCellElement Cell

Gets the Graphics object used to draw

C#
public readonly Graphics Graphics