Skip to main content

SchedulerItemBaseMappings Class

A base class for classes that provide information on the appointment properties’ mapping to data fields.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public abstract class SchedulerItemBaseMappings :
    MappingsBase

Remarks

The SchedulerItemBaseMappings class contains a set of properties whose names are similar to the persistent properties declared within the SchedulerItemBase class. If the SchedulerControl is bound to a data source using the DataSource.AppointmentsSource property, the properties of the AppointmentMappings class (the SchedulerItemBaseMappings descendant) allow the corresponding AppointmentItem properties to be bound to the appropriate fields in the data source.

Access the AppointmentMappings object using the DataSource.AppointmentMappings property.

The XAML snippet below illustrates how to configure AppointmentMappings:

<dxsch:DataSource AppointmentsSource="{Binding UtcAppointments}">
    <dxsch:DataSource.AppointmentMappings>
        <dxsch:AppointmentMappings
            Type="AppointmentType"
            Subject="Subject"
            Start="Start" End="End" AllDay="AllDay"
            QueryStart="QueryStart" QueryEnd="QueryEnd"
            TimeZoneId="TimeZoneId"
            RecurrenceInfo="RecurrenceInfo"
            Reminder="ReminderInfo"/>
    </dxsch:DataSource.AppointmentMappings>
</dxsch:DataSource>

Inheritance

Object
BindableBase
DevExpress.Mvvm.Native.FreezableBase
See Also