New to Telerik UI for WinForms? Start a free 30-day trial

Provides drawing data to a Scheduler cell paint callback, which is called after the cell is painted.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class PrintSchedulerCellPaintEventArgs : PrintSchedulerCellEventArgs

Inheritance: objectEventArgsPrintSchedulerCellEventArgsPrintSchedulerCellPaintEventArgs

Inherited Members PrintSchedulerCellEventArgs.CellElementEventArgs.Empty

Constructors

Initializes event data for additional drawing over a Scheduler cell print element.

C#
public PrintSchedulerCellPaintEventArgs(SchedulerPrintCellElement cell, Graphics graphics, Rectangle bounds)
Parameters:cellSchedulerPrintCellElement

The cell print element that was painted.

graphicsGraphics

The graphics context used to draw the printed page.

boundsRectangle

The rectangle supplied for the cell element.

Properties

Gets or sets the rectangle supplied for the cell element. Changing this value affects the bounds exposed to the callback; the cell has already been painted.

C#
public Rectangle Bounds { get; set; }

Gets the graphics context used by the print style to render the page.

C#
public Graphics Graphics { get; }