[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Map Control
   [Expand]Product Information
    Getting Started
   [Collapse]Scheduler Elements and Structure
     SchedulerControl Control
     SchedulerDataStorage Component
     Logical Layers
     Object Interaction
     Data-Related Events
   [Expand]Data Binding
   [Expand]Import and Export
   [Expand]Time Zones
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
   [Expand]Member Tables
   [Expand]Visual Elements
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

SchedulerDataStorage Component

Expanded What is the Scheduler Data Storage?

The SchedulerDataStorage is a stand-alone component that loads all Scheduler data (Appointments, resources, appointment dependencies, statuses, and labels) from external data sources. This component is automatically added when you drop a SchedulerControl onto the form, but you can add more storages from the Visual Studio toolbox.

Use the SchedulerControl.DataStorage property to assign the storage to a Scheduler.

Expanded Data Binding

This storage uses the following collections to store data retrieved from external sources:

You can use the SchedulerControl's or the storage's smart tags to bind these collections to data sources. See the Data Binding and Getting Started articles for the details.

Expanded Data Exchange

Expanded Mappings

You need to map source data fields to the required object properties after the storage collection (for example, the SchedulerDataStorage.Appointments) receives a data source using the Scheduler's wizards. They can analyze the available data fields and map them automatically.

Refer to the Mappings article to learn more.

Expanded Storage Events

Modifying storage data raises the following events that allow you to perform additional actions and\or cancel these changes:

Member Name Description
SchedulerDataStorage.AppointmentInserting Fires when a new appointment is about to be added to the persistent storage.
SchedulerDataStorage.AppointmentsInserted Occurs after a new appointment is added to the persistent storage.
SchedulerDataStorage.AppointmentChanging Fires when an appointment is about to be modified.
SchedulerDataStorage.AppointmentsChanged Occurs when appointments have been changed.
SchedulerDataStorage.AppointmentDeleting Fires when the appointment is about to be deleted.
SchedulerDataStorage.AppointmentsDeleted Occurs when appointments have been deleted.
SchedulerDataStorage.ResourceInserting Allows you to cancel the addition of a resource.
SchedulerDataStorage.ResourcesInserted Occurs when new resources are inserted into the scheduler storage.
SchedulerDataStorage.ResourceChanging Fires when a resource's property is about to be changed.
SchedulerDataStorage.ResourcesChanged Occurs when a scheduler's resource in a collection is changed.
SchedulerDataStorage.ResourceDeleting Allows the deletion of a resource to be cancelled.
SchedulerDataStorage.ResourcesDeleted Occurs after a scheduler's resource(s) is deleted.

You can download the event viewer to track when data storage events raise.

Expanded See Also

Is this topic helpful?​​​​​​​