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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class SchedulerDetailsPrintStyle : SchedulerPrintStyle, ICloneable

Inheritance: objectSchedulerPrintStyleSchedulerDetailsPrintStyle

Implements: ICloneable

Inherited Members SchedulerPrintStyle.OnPrintElementFormatting(PrintElementEventArgs)SchedulerPrintStyle.OnCellElementFormatting(PrintSchedulerCellEventArgs)SchedulerPrintStyle.OnAppointmentElementFormatting(PrintAppointmentEventArgs)SchedulerPrintStyle.OnPrintElementPaint(PrintElementPaintEventArgs)SchedulerPrintStyle.OnCellElementPaint(PrintSchedulerCellPaintEventArgs)SchedulerPrintStyle.OnAppointmentElementPaint(PrintAppointmentPaintEventArgs)SchedulerPrintStyle.DrawPage(Graphics, Rectangle, int)SchedulerPrintStyle.DrawNotesArea(Graphics, Rectangle, int)SchedulerPrintStyle.GetPageDate(int)SchedulerPrintStyle.GetPageResource(int)SchedulerPrintStyle.DrawElement(RadPrintElement, Graphics, Rectangle)SchedulerPrintStyle.DrawElement(RadPrintElement, Graphics, RectangleF)SchedulerPrintStyle.DrawAppointment(AppointmentPrintElement, Graphics, Rectangle)SchedulerPrintStyle.DrawAppointment(AppointmentPrintElement, Graphics, RectangleF)SchedulerPrintStyle.DrawCell(SchedulerPrintCellElement, Graphics, Rectangle)SchedulerPrintStyle.DrawCell(SchedulerPrintCellElement, Graphics, RectangleF)SchedulerPrintStyle.GetAppointments()SchedulerPrintStyle.GetAppointments(DateTime)SchedulerPrintStyle.GetAppointments(DateTime, bool)SchedulerPrintStyle.GetAppointments(DateTime, bool, IResource)SchedulerPrintStyle.GetAppointments(DateTime, DateTime)SchedulerPrintStyle.GetAppointments(DateTime, DateTime, IResource)SchedulerPrintStyle.GetAppointments(DateTime, DateTime, SchedulerPrintGroupType)SchedulerPrintStyle.CompareAppointments(IEvent, IEvent)SchedulerPrintStyle.CompareAppointmentsByResource(IEvent, IEvent)SchedulerPrintStyle.LoadImage(string)SchedulerPrintStyle.DateCeiling(DateTime)SchedulerPrintStyle.DateFloor(DateTime)SchedulerPrintStyle.GetRoundedDateTime(DateTime, bool)SchedulerPrintStyle.Clone()SchedulerPrintStyle.GroupTypeSchedulerPrintStyle.ShowTimezoneSchedulerPrintStyle.HeadingAreaHeightSchedulerPrintStyle.NotesAreaWidthSchedulerPrintStyle.DrawPageTitleSchedulerPrintStyle.DrawPageTitleCalendarSchedulerPrintStyle.ShowNotesAreaSchedulerPrintStyle.ShowLinedNotesAreaSchedulerPrintStyle.DateHeadingFontSchedulerPrintStyle.AppointmentFontSchedulerPrintStyle.PageHeadingFontSchedulerPrintStyle.DateStartRangeSchedulerPrintStyle.DateEndRangeSchedulerPrintStyle.TotalDaysSchedulerPrintStyle.TimeStartRangeSchedulerPrintStyle.TimeEndRangeSchedulerPrintStyle.SchedulerSchedulerPrintStyle.IsGroupedSchedulerPrintStyle.PrintElementFormattingSchedulerPrintStyle.CellElementFormattingSchedulerPrintStyle.AppointmentElementFormattingSchedulerPrintStyle.PrintElementPaintSchedulerPrintStyle.CellElementPaintSchedulerPrintStyle.AppointmentElementPaint...

Constructors

Creates a new instance of the class.

C#
public SchedulerDetailsPrintStyle()

Creates a new instance of the class.

C#
public SchedulerDetailsPrintStyle(DateTime startRange, DateTime endRange)
Parameters:startRangeDateTime

The start date of the printing range.

endRangeDateTime

The end date of the printing range.

Properties

Gets or sets the string that will be printed instead of date for all-day appointments

C#
public string AllDayString { get; set; }

Gets or sets the width of the area which displays appointments' date.

C#
[Browsable(false)]
public int AppointmentDateWidth { get; set; }

Gets or sets the height of appointments' summary.

C#
[Browsable(false)]
public int AppointmentTitleHeight { get; set; }

Gets or sets the height of the element that displays the current date.

C#
[Browsable(false)]
public int DayHeaderHeight { get; set; }

Gets or sets the conndition under which the printing should continue on a new page.

C#
[Browsable(true)]
public PageBreakMode PageBreakMode { get; set; }

Gets or sets the string that will be printed to indicate that the appointment is all-day and its description has been previously printed

C#
public string PleaseSeeAboveString { get; set; }

Methods

C#
public override void CopyProperties(SchedulerPrintStyle destination)
Parameters:destinationSchedulerPrintStyle

Overrides: SchedulerPrintStyle.CopyProperties(SchedulerPrintStyle)

C#
protected virtual void DrawAllDayAppointmentTitle(IEvent allDayAppointment, bool measureOnly, int currentYOffset)
Parameters:allDayAppointmentIEventmeasureOnlyboolcurrentYOffsetint

Draws the content area of the page.

C#
protected override void DrawAppointmentsArea(Rectangle appArea, Graphics graphics, int pageNumber)
Parameters:appAreaRectangle

The bounds of the area.

graphicsGraphics

The graphics used for drawing.

pageNumberint

One-based number of the current page.

Overrides: SchedulerPrintStyle.DrawAppointmentsArea(Rectangle, Graphics, int)

C#
protected virtual void DrawAppointmentTitle(IEvent currentAppointment, bool measureOnly, int currentYOffset)
Parameters:currentAppointmentIEventmeasureOnlyboolcurrentYOffsetint

Draws the page heading.

C#
protected override Rectangle DrawTopArea(Rectangle drawingArea, Graphics graphics, int pageNumber)
Parameters:drawingAreaRectangle

The area in which the heading should be drawn.

graphicsGraphics

The graphics used for drawing.

pageNumberint

The number of the page.

Returns:

Rectangle

The bounds of the top area.

Overrides: SchedulerPrintStyle.DrawTopArea(Rectangle, Graphics, int)

C#
public override void EndPrint()

Overrides: SchedulerPrintStyle.EndPrint()

Returns the potential number of pages.

C#
public override int GetNumberOfPages(Rectangle pageBounds, Graphics g)
Parameters:pageBoundsRectangle

The bounds of the page.

gGraphics

The graphics object. Only used for measurement purposes.

Returns:

int

Overrides: SchedulerPrintStyle.GetNumberOfPages(Rectangle, Graphics)