Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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