SchedulerStorage() Constructor
Initializes a new instance of the SchedulerStorage class with default settings.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v25.1.dll
NuGet Package: DevExpress.Win.Scheduler
Declaration
Remarks
Important
This API is intended to be used with the legacy SchedulerStorage only. Starting with version 18.1, SchedulerStorage and all of its satellite storages are replaced with their updated versions.
- SchedulerDataStorage replaces SchedulerStorage
- AppointmentDataStorage replaces AppointmentStorage
- ResourceDataStorage replaces ResourceStorage
- AppointmentDependencyDataStorage replaces AppointmentDependencyStorage
Example
The following example adds a SchedulerDataStorage component to a form.
Design Time
Drag the SchedulerDataStorage
item from the toolbox to the form. The component is placed in the Component Tray.
Note
If a SchedulerControl is added to the form and the form doesn’t contain SchedulerDataStorage
components, the form creates a new SchedulerDataStorage
and assigns it to the SchedulerControl.DataStorage property. If the form contains at least one SchedulerDataStorage
, this instance is assigned to the SchedulerControl
.
Runtime
To add a SchedulerDataStorage
to a form at runtime, add references to assemblies listed in the Deployment document.
using DevExpress.XtraScheduler;
// ...
// Create a new Scheduler Data Storage.
SchedulerDataStorage schedulerStorage1 = new SchedulerDataStorage(this.components);
// Disable reminders for the Scheduler Data Storage.
schedulerStorage1.EnableReminders = false;
// Perform any other initialization here.
// ...