Represents a print style which prints on each page appointments in a single day.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerDailyPrintStyle : SchedulerPrintStyle, ICloneable
Inheritance: objectSchedulerPrintStyleSchedulerDailyPrintStyle
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a new instance of the class.
public SchedulerDailyPrintStyle()
Properties
Gets or sets the height of the appointments in the AllDay area.
[Browsable(false)]
public int AllDayAppointmentHeight { get; set; }
Gets or sets the width of the hours column.
[Browsable(false)]
public int HoursColumnWidth { get; set; }
Gets or sets the maximum height that the AllDay area can occupy.
[Browsable(false)]
public int MaxAllDayAreaHeight { get; set; }
Gets or sets whether two pages should be printer for a single date.
[Browsable(true)]
public bool TwoPagesPerDay { get; set; }
Methods
Copies the base print settings and this style's all-day sizing, hour-column width, and page-splitting option.
public override void CopyProperties(SchedulerPrintStyle destination)
The style that receives the settings.
Overrides:
Draws all-day and multi-day appointments at the top of the page, limited by MaxAllDayAreaHeight.
protected virtual int DrawAllDayArea(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)
The date represented by the page.
resourceIResourceThe resource represented by the page, or null when ungrouped.
appAreaRectangleThe bounds available for the all-day area.
graphicsGraphicsThe graphics context used to draw the appointments.
Returns:The height consumed by the visible all-day appointments.
Draws timed appointments in the day's time grid, placing overlapping appointments in separate columns.
protected virtual void DrawAppointments(DateTime currentDate, IResource resource, Rectangle appArea, Graphics graphics)
The date represented by the page.
resourceIResourceThe resource represented by the page, or null when ungrouped.
appAreaRectangleThe bounds available for timed appointments.
graphicsGraphicsThe graphics context used to draw the appointments.
Draws one day's all-day appointments and time grid, or a separate notes page when two-page-per-day printing is enabled.
Draws the hourly labels and appointment cells for the configured time range, subdividing hours to match the active day-view interval.
Draws the notes area on a single-page day; in two-page mode, notes are placed on their own paired page instead.
protected override Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)
The graphics context used to draw the notes.
drawingAreaRectangleThe area available for page content.
pageNumberintThe one-based page number.
Returns:The notes bounds, or an empty rectangle when notes use a separate page.
Overrides:
Draws the notes-only page paired with a day when TwoPagesPerDay is enabled.
Gets the base page count, doubled when each date uses a separate appointment page and notes page.