AppointmentMappings Class
Provides information on the appointment properties’ mapping to data fields.
Namespace: DevExpress.Xpf.Scheduling
Assembly: DevExpress.Xpf.Scheduling.v24.1.dll
NuGet Package: DevExpress.Wpf.Scheduling
Declaration
Related API Members
The following members return AppointmentMappings objects:
Remarks
The AppointmentMappings class contains a set of properties whose names are similar to the persistent properties declared within the AppointmentItem class. If the SchedulerControl is bound to a data source using the DataSource.AppointmentsSource property, the properties of the AppointmentMappings class 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.
Example
<dxsch:SchedulerControl.DataSource>
<dxsch:DataSource AppointmentsSource="{Binding Appointments}" ResourcesSource="{Binding Resources}">
<dxsch:DataSource.AppointmentMappings>
<dxsch:AppointmentMappings Start="StartTime"
End="EndTime"
AllDay="AllDay"
Subject="Subject"
Id="ID"
Description="Description"
LabelId="Label"
Location="Location"
RecurrenceInfo="RecurrenceInfo"
Reminder="ReminderInfo"
ResourceId="CarId"
StatusId="Status"
Type="EventType" />
</dxsch:DataSource.AppointmentMappings>
<dxsch:DataSource.ResourceMappings>
<dxsch:ResourceMappings Id="ID"
Caption="Model" />
</dxsch:DataSource.ResourceMappings>
</dxsch:DataSource>
</dxsch:SchedulerControl.DataSource>
<dxsch:DayView ResourcesPerPage="3" />
<dxsch:MonthView/>
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentMappings class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.