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

Represents event arguments for the PrintCellPaint.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class PrintCellPaintEventArgs : EventArgs

Inheritance: objectEventArgsPrintCellPaintEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the PrintCellPaintEventArgs class.

C#
public PrintCellPaintEventArgs(Graphics graphics, GridViewRowInfo row, GridViewColumn column, Rectangle cellRect)
Parameters:graphicsGraphics

The graphics.

rowGridViewRowInfo

The row.

columnGridViewColumn

The column.

cellRectRectangle

The cell rect.

Properties

Gets the rectangle in which the cell will be printed.

C#
public Rectangle CellRect { get; set; }

Gets the column that is currently printed.

C#
public GridViewColumn Column { get; }

Gets the Graphics used for the painting.

C#
public Graphics Graphics { get; }

Gets the row that is currently printed.

C#
public GridViewRowInfo Row { get; }