Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

XtraSchedulerReport.SchedulerAdapter Property

Gets or sets the scheduler adapter for the current report.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v24.2.Reporting.dll

NuGet Package: DevExpress.Win.SchedulerReporting

#Declaration

[DefaultValue(null)]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public SchedulerPrintAdapter SchedulerAdapter { get; set; }

#Property Value

Type Default Description
SchedulerPrintAdapter null

A SchedulerPrintAdapter class descendant, representing a SchedulerControl or a SchedulerStorage print adapter.

#Remarks

Use this property to set the scheduler print adapter, which supplies the data to the report. The main purpose of this adapter is to compose a data set that will be used in the report. There are two print adapters: a storage and control adapter.

The following code illustrates how to use the SchedulerAdapter property when creating a report for a given SchedulerStorage:

using DevExpress.XtraScheduler.Reporting;
// ...
XtraSchedulerReport1 xr1 = new XtraSchedulerReport1();
xr1.SchedulerAdapter = new SchedulerStoragePrintAdapter(this.schedulerStorage1);
xr1.ShowPreview();
See Also