SchedulerStorage.AppointmentStorage Property

Provides access to a storage that contains information on appointments.

Namespace: DevExpress.Xpf.Scheduler

Assembly: DevExpress.Xpf.Scheduler.v20.1.dll

Declaration

public AppointmentStorage AppointmentStorage { get; set; }
Public Property AppointmentStorage As AppointmentStorage

Property Value

Type Description
AppointmentStorage

An AppointmentStorage object that specifies the storage for appointment related information.

Remarks

IMPORTANT

You are viewing documentation for the legacy WPF Scheduler control. If you're starting a new project, we strongly recommend that you use a new control declared in the DevExpress.Xpf.Scheduling namespace. If you decide to upgrade an existing project in order to switch to the updated scheduler control, see the Migration Guidelines document.

The AppointmentStorage property provides access to the AppointmentStorage object which specifies the storage for appointment related information. Using the members of this object, you can, for example, specify the datasource that contains appointments (the PersistentObjectStorage<T>.DataSource property), access an object that allows the persistent properties of appointments to be mapped to the corresponding data fields (the AppointmentStorage.Mappings property), collections of appointment labels (the AppointmentStorage.Labels property) and statuses (the AppointmentStorage.Statuses), etc.

Examples

This example demonstrates how to specify standard mappings for appointment properties via the AppointmentStorage.Mappings property.

<dxsch:SchedulerStorage.AppointmentStorage>
    <dxsch:AppointmentStorage>
        <dxsch:AppointmentStorage.Mappings>
            <dxsch:AppointmentMapping 
                Start="StartTime" 
                End="EndTime" 
                AllDay="AllDay"
                Description="Description"
                Label="Label"
                Location="Location"
                Subject="Subject" 
                RecurrenceInfo="RecurrenceInfo"
                ReminderInfo="ReminderInfo"
                Status="Status"
                Type="EventType"/>
        </dxsch:AppointmentStorage.Mappings>
    </dxsch:AppointmentStorage>
</dxsch:SchedulerStorage.AppointmentStorage>
See Also