Class
SchedulerWeeklyCalendarPrintStyle

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public class SchedulerWeeklyCalendarPrintStyle : SchedulerBaseWeeklyPrintStyle, ICloneable

Inheritance: objectSchedulerPrintStyleSchedulerBaseWeeklyPrintStyleSchedulerWeeklyCalendarPrintStyle

Implements: ICloneable

Inherited Members SchedulerBaseWeeklyPrintStyle.GetPageDate(int)SchedulerBaseWeeklyPrintStyle.GetPageResource(int)SchedulerBaseWeeklyPrintStyle.GetNumberOfPages(Rectangle, Graphics)SchedulerBaseWeeklyPrintStyle.OverflowImageSchedulerBaseWeeklyPrintStyle.ExcludeNonWorkingDaysSchedulerBaseWeeklyPrintStyle.TwoPagesPerWeekSchedulerBaseWeeklyPrintStyle.FirstDayOfWeekSchedulerBaseWeeklyPrintStyle.AppointmentHeightSchedulerBaseWeeklyPrintStyle.DateStartRangeSchedulerBaseWeeklyPrintStyle.DateEndRangeSchedulerPrintStyle.OnPrintElementFormatting(PrintElementEventArgs)SchedulerPrintStyle.OnCellElementFormatting(PrintSchedulerCellEventArgs)SchedulerPrintStyle.OnAppointmentElementFormatting(PrintAppointmentEventArgs)SchedulerPrintStyle.OnPrintElementPaint(PrintElementPaintEventArgs)SchedulerPrintStyle.OnCellElementPaint(PrintSchedulerCellPaintEventArgs)SchedulerPrintStyle.OnAppointmentElementPaint(PrintAppointmentPaintEventArgs)SchedulerPrintStyle.DrawPage(Graphics, Rectangle, int)SchedulerPrintStyle.DrawTopArea(Rectangle, Graphics, 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.EndPrint()SchedulerPrintStyle.GroupTypeSchedulerPrintStyle.ShowTimezoneSchedulerPrintStyle.HeadingAreaHeightSchedulerPrintStyle.NotesAreaWidthSchedulerPrintStyle.DrawPageTitleSchedulerPrintStyle.DrawPageTitleCalendarSchedulerPrintStyle.ShowNotesAreaSchedulerPrintStyle.ShowLinedNotesAreaSchedulerPrintStyle.DateHeadingFontSchedulerPrintStyle.AppointmentFontSchedulerPrintStyle.PageHeadingFontSchedulerPrintStyle.TotalDaysSchedulerPrintStyle.TimeStartRangeSchedulerPrintStyle.TimeEndRangeSchedulerPrintStyle.SchedulerSchedulerPrintStyle.IsGroupedSchedulerPrintStyle.PrintElementFormattingSchedulerPrintStyle.CellElementFormattingSchedulerPrintStyle.AppointmentElementFormattingSchedulerPrintStyle.PrintElementPaintSchedulerPrintStyle.CellElementPaintSchedulerPrintStyle.AppointmentElementPaint

Constructors

SchedulerWeeklyCalendarPrintStyle()

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerWeeklyCalendarPrintStyle()

SchedulerWeeklyCalendarPrintStyle(DateTime, DateTime)

Creates a new instance of the class.

Declaration

cs-api-definition
public SchedulerWeeklyCalendarPrintStyle(DateTime startDate, DateTime endDate)

Parameters

startDate

DateTime

The start date of the printing range.

endDate

DateTime

The end date of the printing range.

Properties

AllDayAppointmentHeight

Gets or sets the height of the appointments in the AllDay area.

Declaration

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

Property Value

int

HeaderAreaHeight

Gets or sets the height of the header area.

Declaration

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

Property Value

int

HeaderCellFont

Gets or sets thefont of the header area cells.

Declaration

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

Property Value

Font

HoursColumnWidth

Gets or sets the width of the hours column.

Declaration

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

Property Value

float

MaxAllDayAreaHeight

Gets or sets the maximum height that the AllDay area can occupy.

Declaration

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

Property Value

int

Methods

CopyProperties(SchedulerPrintStyle)

Declaration

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

Parameters

destination

SchedulerPrintStyle

Overrides SchedulerPrintStyle.CopyProperties(SchedulerPrintStyle)

DrawAllDayArea(DateTime, IResource, RectangleF, Graphics, int)

Declaration

cs-api-definition
protected virtual float DrawAllDayArea(DateTime currentDate, IResource resource, RectangleF appArea, Graphics graphics, int pageNumber)

Parameters

currentDate

DateTime

resource

IResource

appArea

RectangleF

graphics

Graphics

pageNumber

int

Returns

float

DrawAppointments(DateTime, IResource, RectangleF, Graphics)

Declaration

cs-api-definition
protected virtual void DrawAppointments(DateTime currentDate, IResource resource, RectangleF appArea, Graphics graphics)

Parameters

currentDate

DateTime

resource

IResource

appArea

RectangleF

graphics

Graphics

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)

DrawCells(RectangleF, Graphics, int)

Declaration

cs-api-definition
protected virtual void DrawCells(RectangleF appArea, Graphics graphics, int pageNumber)

Parameters

appArea

RectangleF

graphics

Graphics

pageNumber

int

DrawHeaderCells(RectangleF, Graphics, DateTime, int)

Declaration

cs-api-definition
protected virtual void DrawHeaderCells(RectangleF appArea, Graphics graphics, DateTime currentDate, int pageNumber)

Parameters

appArea

RectangleF

graphics

Graphics

currentDate

DateTime

pageNumber

int

DrawNotesArea(Graphics, Rectangle, int)

Draws an area for handwritten notes.

Declaration

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

Parameters

graphics

Graphics

The graphics used for drawing.

drawingArea

Rectangle

The area in which the notes should be drawn.

pageNumber

int

1-based consecutive number of the page to be drawn in.

Returns

Rectangle

The bounds of the notes area.

Overrides SchedulerPrintStyle.DrawNotesArea(Graphics, Rectangle, int)

GetNumberOfDays(int)

Declaration

cs-api-definition
protected virtual int GetNumberOfDays(int pageNumber)

Parameters

pageNumber

int

Returns

int