Skip to main content
A newer version of this page is available. .

XtraSchedulerReport.SchedulerAdapter Property

Gets or sets the scheduler adapter for the current report.

Namespace: DevExpress.XtraScheduler.Reporting

Assembly: DevExpress.XtraScheduler.v19.1.Reporting.dll

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();

The following code snippets (auto-collected from DevExpress Examples) contain references to the SchedulerAdapter property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also