Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [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]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
   [Expand]Getting Started
   [Expand]Fundamentals
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Collapse]Member Tables
     Member Table: Appointment Form
     Member Table: Appointments
     Member Table: Bind to a Data Source
     Member Table: Custom Draw
     Member Table: Data Exchange
     Member Table: Filter Data
     Member Table: Tooltips
     Member Table: Hit Information
     Member Table: Look and Feel
     Member Table: Popup Menu
     Member Table: Print Data
     Member Table: Recurrence
     Member Table: Reminders
     Member Table: Resources
     Member Table: Save and Restore Layout
     Member Table: Views
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap 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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Member Table: Bind to a Data Source

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

Expanded 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.

Expanded 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.

Expanded 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.

How would you rate this topic?​​​​​​​