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

Provides drawing data to an appointment paint callback. When raised by a print style, the callback runs after the element is painted.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class PrintAppointmentPaintEventArgs : PrintAppointmentEventArgs

Inheritance: objectEventArgsPrintAppointmentEventArgsPrintAppointmentPaintEventArgs

Inherited Members PrintAppointmentEventArgs.AppointmentElementEventArgs.Empty

Constructors

Initializes event data for additional drawing over an appointment print element.

C#
public PrintAppointmentPaintEventArgs(AppointmentPrintElement appointment, Graphics graphics, Rectangle bounds)
Parameters:appointmentAppointmentPrintElement

The appointment print element that was painted.

graphicsGraphics

The graphics context used to draw the printed page.

boundsRectangle

The rectangle supplied for the appointment element.

Properties

Gets or sets the rectangle supplied for the appointment element. Changing this value affects the bounds exposed to the callback; the appointment 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; }