SchedulerOptionsPrint.PrintStyle Property
Gets or sets the type of the printing style.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.dll
Declaration
[DefaultValue(SchedulerPrintStyleKind.Default)]
public SchedulerPrintStyleKind PrintStyle { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SchedulerPrintStyleKind | Default | A SchedulerPrintStyleKind enumeration value which specifies the scheduler’s printing style type. |
Available values:
Name | Description |
---|---|
Daily | A style which prints the calendar in the specified interval one day per page. Each page includes the reference month calendar in the page header. |
Weekly | A style which prints the selected date range so that each week is printed on one or two separate pages. The page header includes the reference calendars for the selected and the following months. |
Monthly | A style which prints a calendar page or two for each month in the selected date range. Each month containing appointments includes the reference month calendar in the page header. |
TriFold | A style which prints the calendar of the specified interval in three columns, each column having its own printing style - Daily, Weekly or Monthly. |
CalendarDetails | A style which lists appointments in the specified interval in chronological order. The printout is a table with two columns grouped by date. The first column indicates the appointment time, the next column contains appointment details. |
Memo | A style which prints all the data of the selected appointments in a memo-like fashion. |
Default | Default style for the current Scheduler view. If the ActiveViewType is Month, the default print style is Monthly, for the Week view the default print style is Weekly. Otherwise, it is Daily. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to PrintStyle |
---|---|
SchedulerControl |
|
Remarks
By default, this property is set to SchedulerPrintStyleKind.Default. This means that the print style is selected according to the currently active view of the Scheduler (this view is accessed via the SchedulerControl.ActiveView property). For example, if the current view is Day View, and the PrintStyle property is set to Default, the print style type will be set to Daily.
To specify the default printing style, use the SchedulerControl.ActivePrintStyle property.