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 VirtualGridCellPaintEventArgs : VirtualGridCellElementEventArgs

Inheritance: objectEventArgsVirtualGridEventArgsVirtualGridCellElementEventArgsVirtualGridCellPaintEventArgs

Inherited Members VirtualGridCellElementEventArgs.CellElementVirtualGridEventArgs.ViewInfoEventArgs.Empty

Constructors

Initializes a new instance of the VirtualGridCellPaintEventArgs class.

C#
public VirtualGridCellPaintEventArgs(VirtualGridCellElement cellElement, VirtualGridViewInfo viewInfo, Graphics graphics)
Parameters:cellElementVirtualGridCellElement

The cell element.

viewInfoVirtualGridViewInfo

The view info.

graphicsGraphics

The graphics.

Properties

Gets the graphics object used for drawing to the screen.

C#
public Graphics Graphics { get; }