Represents a print style which prints appointments
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.Scheduler.dll
Syntax:
public class SchedulerWeeklyPrintStyle : SchedulerBaseWeeklyPrintStyle, ICloneable
Inheritance: objectSchedulerPrintStyleSchedulerBaseWeeklyPrintStyleSchedulerWeeklyPrintStyle
Implements:
Inherited Members
Constructors
Creates a new instance of the class.
public SchedulerWeeklyPrintStyle()
Properties
Gets or sets how the day cells should be arranged.
[Browsable(true)]
public WeeklyStyleLayout DaysLayout { get; set; }
Methods
Copies shared settings and weekly layout options to another weekly print style.
public override void CopyProperties(SchedulerPrintStyle destination)
The print style that receives the settings.
Overrides:
Draws a full week on one page or splits the week across two pages, according to TwoPagesPerWeek.
Draws the three or four days assigned to one half of a two-page week.
protected virtual void DrawHalfWeek(Rectangle appArea, Graphics graphics, int pageNumber)
The bounds available for the half-week page.
graphicsGraphicsThe graphics surface used to draw day cells and appointments.
pageNumberintThe one-based page number, which selects the first or second half of the week.
Draws the configured notes area; when a week spans two pages, blank and lined notes are placed on separate pages.
protected override Rectangle DrawNotesArea(Graphics graphics, Rectangle drawingArea, int pageNumber)
The graphics surface used to draw the notes.
drawingAreaRectangleThe available page area.
pageNumberintThe one-based page number, used to place notes on the corresponding half-week page.
Returns:The rectangle occupied by the notes area, or an empty rectangle when no notes area is drawn on this page.
Overrides:
Draws all seven days of a week on a single page, omitting non-working days when configured.