Skip to main content
A newer version of this page is available.
All docs
V18.2

Member Table: Bind to a Data Source

  • 3 minutes to read

Below is the list of the primary members which can be used to bind a SchedulerControl to data.

Public Properties

Name Description
SchedulerStorage.Appointments Gets a storage object that contains appointment related information. Using the members of the AppointmentStorage object, you can specify the data source that contains appointments, access an object that allows the persistent properties of appointments to be mapped to the corresponding data fields, access a collection of appointments, an individual appointment, collections of appointment labels and the status of an appointment.
SchedulerStorage.Resources Gets the object which manages resources for appointments.
PersistentObjectStorage<T>.DataSource Gets or sets the object used as the data source to store persistent objects (appointments or resources).
PersistentObjectStorage<T>.DataMember Gets or sets the data source member which supplies data to the storage object.
PersistentObjectStorage<T>.AutoReload Gets or sets whether automatic data loading and reloading is enabled.
AppointmentStorageBase.Mappings Gets an object that allows the persistent properties of the appointments maintained by the current storage to be bound to appropriate fields in the data source.
ResourceStorage.Mappings Gets an object that allows the persistent properties of the resources maintained by the current storage to be bound to appropriate fields in the data source.
AppointmentStorage.CustomFieldMappings Gets an object that allows the custom properties of the appointments maintained by the current storage to be bound to appropriate custom fields in the data source.
ResourceStorage.CustomFieldMappings Gets an object that allows the custom properties of the resources maintained by the current storage to be bound to appropriate custom fields in the data source.

Public Methods

Name Description
IPersistentObject.GetRow Returns the data row object that contains information on the persistent object (appointment or resource).
IPersistentObject.GetValue Returns a specific field’s value from the data row that contains information about the current persistent object.
IPersistentObject.SetValue Assigns the specified value to the field in the data row that contains information about the current persistent object.
SchedulerStorageBase.RefreshData Updates the XtraScheduler control to reflect any changes made in the data sources which store the appointments and appointment resources.

Public Events

Name Description
SchedulerStorageBase.AppointmentCollectionAutoReloading Occurs when the data source which contains appointment records is modified and appointments are set to be automatically reloaded.
SchedulerStorageBase.AppointmentCollectionLoaded Fires after appointments have been loaded into the AppointmentStorage.Items collection.
SchedulerStorageBase.AppointmentCollectionCleared Fires after the appointment collection has been cleared.
SchedulerStorageBase.ResourceCollectionAutoReloading Occurs when the data source which contains resources is modified and the automatic reloading of resources is enabled.
SchedulerStorageBase.ResourceCollectionLoaded Fires after resources have been loaded into the ResourceStorage.Items collection.
SchedulerStorageBase.ResourceCollectionCleared Fires after the resource collection has been cleared.
SchedulerStorageBase.FetchAppointments Occurs before the SchedulerStorage starts retrieving the appointments for the specified time interval.