The component that holds data for the SchedulerControl.
[ToolboxBitmap(typeof(SchedulerDataStorage), "Bitmaps256.SchedulerStorage.bmp")] public class SchedulerDataStorage : Component, ISchedulerStorage, ISchedulerStorageBase, IBatchUpdateable, ISupportReminders, ISupportTimeZoneEngine, IDisposable, IDisposeState, IInternalSchedulerStorage, IInternalSchedulerStorageBase, IFilteredComponentsProvider, ISupportInitialize, IForceSyncModeClient
<ToolboxBitmap(GetType(SchedulerDataStorage), "Bitmaps256.SchedulerStorage.bmp")> Public Class SchedulerDataStorage Inherits Component Implements ISchedulerStorage, ISchedulerStorageBase, IBatchUpdateable, ISupportReminders, ISupportTimeZoneEngine, IDisposable, IDisposeState, IInternalSchedulerStorage, IInternalSchedulerStorageBase, IFilteredComponentsProvider, ISupportInitialize, IForceSyncModeClient
Related API Members
The following members accept/return SchedulerDataStorage objects:
Data for the XtraScheduler control is contained in a storage represented by the SchedulerDataStorage class. This storage can be accessed via the control's SchedulerControl.DataStorage property.
The SchedulerDataStorage.Appointments and SchedulerDataStorage.Resources properties hold collections of appointments and appointment resources. Use these properties to populate the collections manually or automatically by binding them to data sources.
The following example demonstrates how to add the SchedulerDataStorage component to a form. Note that the Scheduler Storage can be added to your scheduling application at both design-time and runtime.
By default, the SchedulerDataStorage item is located in the DX.18.2: Scheduling toolbox tab of the Visual Studio IDE. So, to add a Scheduler Storage to your project, simply drag the corresponding toolbox item, and drop it onto the form. The SchedulerDataStorage component is placed in the Component Tray.
Every time a SchedulerControl is added to the form, if the form doesn't contain any Scheduler Storage components, then the new Scheduler Storage will be automatically created, and set to its SchedulerControl.DataStorage property. If at least one Scheduler Storage already exists on a form, then this instance will be assigned to the Scheduler Control, and a new instance won't be created.
To add a Scheduler Storage to a form at runtime the following libraries should be included in the references list of the project: DevExpress.Data.v18.2.dll, DevExpress.Utils.v18.2.dll, DevExpress.XtraEditors.v18.2.dll, DevExpress.XtraScheduler.v18.2.Core.dll and DevExpress.XtraScheduler.v18.2.dll.