Skip to main content

AppointmentMappings Class

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

Namespace: DevExpress.WinUI.Scheduler

Assembly: DevExpress.WinUI.Scheduler.v23.2.dll

NuGet Package: DevExpress.WinUI

Declaration

public class AppointmentMappings :
    Mappings<AppointmentItem>

The following members return AppointmentMappings objects:

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>
See Also