AppointmentMappings Class

Specifies the mapping of the AppointmentItem properties to the appropriate data fields.

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v19.2.dll

Declaration

public class AppointmentMappings :
    Mappings<AppointmentItem>
Public Class AppointmentMappings
    Inherits Mappings(Of AppointmentItem)

Remarks

An AppointmentMapping object can be accessed via the Calendar.AppointmentMappings property.

The following code snippet demonstrates how to set the appointment mappings for a Calendar.

<Scheduler:SchedulerControl>
        <Scheduler:SchedulerControl.Calendar>
            <Scheduler:Calendar AppointmentsSource="{Binding Appointments}">
                <Scheduler:Calendar.AppointmentMappings>
                    <Scheduler:AppointmentMappings
                            Id="Id"
                            AllDay="AllDay"
                            Type="AppointmentType"
                            Start="Start"
                            End="End"
                            ResourceIds="ResourceId"
                            PatternId="PatternId"
                            Subject="Subject"
                            Description="Description"
                            Location="Location"
                            StatusId="Status"
                            LabelId="Label"
                            RecurrenceRule="RecurrenceInfo">
                    </Scheduler:AppointmentMappings>
                </Scheduler:Calendar.AppointmentMappings>
            </Scheduler:Calendar>
        </Scheduler:SchedulerControl.Calendar>
    </Scheduler:SchedulerControl>

Inheritance

Object
DependencyObject
DevExpress.UI.Xaml.Scheduler.MappingsBase
DevExpress.UI.Xaml.Scheduler.Mappings<AppointmentItem>
AppointmentMappings
See Also