Class
SchedulerDetailsPrintStyle

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
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

SchedulerDetailsPrintStyle()

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerDetailsPrintStyle()

SchedulerDetailsPrintStyle(DateTime, DateTime)

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerDetailsPrintStyle(DateTime startRange, DateTime endRange)

Parameters

startRange

DateTime

The start date of the printing range.

endRange

DateTime

The end date of the printing range.

Properties

AllDayString

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

Declaration

cs-api-definition
public string AllDayString { get; set; }

Property Value

string

AppointmentDateWidth

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

Declaration

cs-api-definition
[Browsable(false)]
public int AppointmentDateWidth { get; set; }

Property Value

int

AppointmentTitleHeight

Gets or sets the height of appointments' summary.

Declaration

cs-api-definition
[Browsable(false)]
public int AppointmentTitleHeight { get; set; }

Property Value

int

DayHeaderHeight

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

Declaration

cs-api-definition
[Browsable(false)]
public int DayHeaderHeight { get; set; }

Property Value

int

PageBreakMode

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

Declaration

cs-api-definition
[Browsable(true)]
public PageBreakMode PageBreakMode { get; set; }

Property Value

PageBreakMode

PleaseSeeAboveString

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

Declaration

cs-api-definition
public string PleaseSeeAboveString { get; set; }

Property Value

string

Methods

CopyProperties(SchedulerPrintStyle)

Declaration

cs-api-definition
public override void CopyProperties(SchedulerPrintStyle destination)

Parameters

destination

SchedulerPrintStyle

Overrides SchedulerPrintStyle.CopyProperties(SchedulerPrintStyle)

DrawAllDayAppointmentTitle(IEvent, bool, int)

Declaration

cs-api-definition
protected virtual void DrawAllDayAppointmentTitle(IEvent allDayAppointment, bool measureOnly, int currentYOffset)

Parameters

allDayAppointment

IEvent

measureOnly

bool

currentYOffset

int

DrawAppointmentTitle(IEvent, bool, int)

Declaration

cs-api-definition
protected virtual void DrawAppointmentTitle(IEvent currentAppointment, bool measureOnly, int currentYOffset)

Parameters

currentAppointment

IEvent

measureOnly

bool

currentYOffset

int

DrawAppointmentsArea(Rectangle, Graphics, int)

Draws the content area of the page.

Declaration

cs-api-definition
protected override void DrawAppointmentsArea(Rectangle appArea, Graphics graphics, int pageNumber)

Parameters

appArea

Rectangle

The bounds of the area.

graphics

Graphics

The graphics used for drawing.

pageNumber

int

One-based number of the current page.

Overrides SchedulerPrintStyle.DrawAppointmentsArea(Rectangle, Graphics, int)

DrawTopArea(Rectangle, Graphics, int)

Draws the page heading.

Declaration

cs-api-definition
protected override Rectangle DrawTopArea(Rectangle drawingArea, Graphics graphics, int pageNumber)

Parameters

drawingArea

Rectangle

The area in which the heading should be drawn.

graphics

Graphics

The graphics used for drawing.

pageNumber

int

The number of the page.

Returns

Rectangle

The bounds of the top area.

Overrides SchedulerPrintStyle.DrawTopArea(Rectangle, Graphics, int)

EndPrint()

Declaration

cs-api-definition
public override void EndPrint()

Overrides SchedulerPrintStyle.EndPrint()

GetNumberOfPages(Rectangle, Graphics)

Returns the potential number of pages.

Declaration

cs-api-definition
public override int GetNumberOfPages(Rectangle pageBounds, Graphics g)

Parameters

pageBounds

Rectangle

The bounds of the page.

g

Graphics

The graphics object. Only used for measurement purposes.

Returns

int

Overrides SchedulerPrintStyle.GetNumberOfPages(Rectangle, Graphics)