Back to Devexpress

SchedulerItemBaseMappings Class

wpf-devexpress-dot-xpf-dot-scheduling-e95341b3.md

latest3.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Scheduling

Declaration

csharp
public abstract class SchedulerItemBaseMappings :
    MappingsBase
vb
Public MustInherit Class SchedulerItemBaseMappings
    Inherits 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:

xaml
<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 MappingsBase SchedulerItemBaseMappings AppointmentMappings

TimeRegionMappings

See Also

SchedulerItemBaseMappings Members

DevExpress.Xpf.Scheduling Namespace