Skip to main content

DataSource.AppointmentMappings Property

Gets an object that specifies how appointment properties map to the data source fields.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v26.1.dll

NuGet Package: DevExpress.Wpf.Scheduling

Declaration

public AppointmentMappings AppointmentMappings { get; set; }

Property Value

Type Description
AppointmentMappings

A AppointmentMappings object that provides information on the mapping of the appointment properties to the data fields.

Remarks

Use the DataSource.AppointmentsSource property to specify a data source. Refer to this code sample:

public class Appointment {
    public int Id { get; set; }
    public bool AllDay { get; set; }
    public string Subject { get; set; }
    public string Description { get; set; }
    public string Location { get; set; }
    public DateTime Start { get; set; }
    public DateTime End { get; set; }
    public DateTime QueryStart { get; set; }
    public DateTime QueryEnd { get; set; }
    public int AppointmentType { get; set; }
    public string RecurrenceInfo { get; set; }
    public string ReminderInfo { get; set; }
    public int? ResourceId { get; set; }
    public int Label { get; set; }
    public int Status { get; set; }
    public string TimeZoneId { get; set; }
}
See Also