[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]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Collapse]Scheduler
   [Expand]Product Information
    Getting Started
   [Expand]Scheduler Elements and Structure
   [Collapse]Data Binding
    [Expand]Data Sources
    [Collapse]Mappings
      Appointment Mappings
      Resource Mappings
      Dependency Mappings
      Label Mappings
      Status Mappings
      How to: Set Mappings
      Custom Fields
      Mapping Converters
     FetchAppointments Event - Handling Large Datasets
   [Expand]Appointments
   [Expand]Views
   [Expand]Import and Export
    Printing
   [Expand]Reports
   [Expand]Time Zones
   [Expand]Design-Time Features
   [Expand]End-User Capabilities
   [Expand]Services
   [Expand]Member Tables
   [Expand]Visual Elements
   [Expand]Examples
  [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]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]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Appointment Mappings

Mapping

Data Type

Required?

Description

AppointmentMappingInfo.AllDay

Boolean

No

Maps to the Appointment.AllDay property.

AppointmentMappingInfo.AppointmentId

Object (any type)

Yes (see description)

Maps to the PersistentObject.Id property. Appointment identity. Should be unique. This mapping is required in the following situations:

If your application relies on Appointment.Id, you should provide methods for assigning the ID and updating the underlying data source with the actual ID value, as described in the PersistentObject.Id article.

Consider using the AppointmentStorage.CommitIdToDataSource and the AppointmentStorage.AutoRetrieveId properties in different identifier generation scenarios.

AppointmentMappingInfo.Description

String

No

Maps to the Appointment.Description property.

AppointmentMappingInfo.End

DateTime

Yes

Maps to the Appointment.End property.

AppointmentMappingInfo.Label

Object (any type)

No

Maps to the Appointment.LabelKey property. The Label identifier.

AppointmentMappingInfo.Location

String

No

Maps to the Appointment.Location property.

AppointmentMappingInfo.OriginalOccurrenceStart

DateTime

No

Maps to the Appointment.OriginalOccurrenceStart property. Used in scenarios which handle the FetchAppointments event for recurring appointments.

AppointmentMappingInfo.OriginalOccurrenceEnd

DateTime

No

Maps to the Appointment.OriginalOccurrenceEnd property. Used in scenarios which handle the FetchAppointments event for recurring appointments.

AppointmentMappingInfo.PercentComplete

Integer

Yes (for Gantt View only)

Maps to the Appointment.PercentComplete property. Used for the Gantt View only.

AppointmentMappingInfo.ResourceId

Object (any type)

Yes

(if you use Resources)

Maps to the Appointment.ResourceId property. Required for identifying a resource for the appointment. Should be the same type as the ID Resource mapping.

AppointmentMappingInfo.ResourceId

String

Yes

(if you use Resources)

Maps to the Appointment.ResourceIds property. Required for associating multiple resources with appointments, when the SchedulerControl.ResourceSharing property is set to true. The data is composed of tags and attributes that specify the ID type and the ID value of associated resources. Starting from version 15.2 resource identifiers are of Object type so they are serialized using Base64 encoding. Set the SchedulerCompatibility.Base64XmlObjectSerialization property to false to store them as integers.

AppointmentMappingInfo.RecurrenceInfo

String

Yes (for recurring appointments)

Maps to the Appointment.RecurrenceInfo property. The data is a list of attributes with values. If the appointment is the first in the chain, the data contains a unique pattern identifier, and parameters that describe the recurrence pattern. If the appointment is not the first member in a chain, the data contains a pattern identifier and the index in the chain.

AppointmentMappingInfo.ReminderInfo

String

No

Used to create a reminder specified by the Appointment.Reminder property. The data is a list of attributes with values. The attribute values are specified for the ReminderBase.AlertTime value and the ReminderBase.TimeBeforeStart value.

AppointmentMappingInfo.Start

DateTime

Yes

Maps to the Appointment.Start property.

AppointmentMappingInfo.Status

Object (any type)

No

Maps to the Appointment.StatusKey property. The Status identifier.

AppointmentMappingInfo.Subject

String

No

Maps to the Appointment.Subject property.

AppointmentMappingInfo.TimeZoneId

String

No

Maps to the Appointment.TimeZoneId property. Used to store the original time zone for the appointment.

AppointmentMappingInfo.Type

Integer

Yes (if the RecurrenceInfo mapping is set and the recurrence is enabled)

Maps to the Appointment.Type property. Contains integer values that correspond to the AppointmentType enumeration.

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