Back to Devexpress

AppointmentStorageBase.Mappings Property

corelibraries-devexpress-dot-xtrascheduler-dot-appointmentstoragebase-835cbc14.md

latest6.4 KB
Original Source

AppointmentStorageBase.Mappings Property

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

Namespace : DevExpress.XtraScheduler

Assembly : DevExpress.XtraScheduler.v25.2.Core.Desktop.dll

NuGet Package : DevExpress.Scheduler.CoreDesktop

Declaration

csharp
public AppointmentMappingInfo Mappings { get; set; }
vb
Public Property Mappings As AppointmentMappingInfo

Property Value

TypeDescription
AppointmentMappingInfo

An AppointmentMappingInfo object that provides information on the mapping of the appointment properties to the data fields.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the Mappings property.

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.

winforms-scheduler-gantt-view/CS/dxT183299/Form1.cs#L76

csharp
{
    AppointmentMappingInfo mappings = this.schedulerStorage.Appointments.Mappings;
    mappings.AppointmentId = "Id";

winforms-scheduler-handle-fetchappointments-event/CS/Form1.cs#L51

csharp
void InitAppointments() {
    AppointmentMappingInfo mappings = this.schedulerStorage1.Appointments.Mappings;
    mappings.Start = "StartTime";

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/CS/CustomAppointmentImageAndText/Form1.cs#L76

csharp
private void InitAppointments() {
    AppointmentMappingInfo mappings = this.schedulerStorage1.Appointments.Mappings;
    mappings.Start = "StartTime";

winforms-scheduler-replace-default-command/CS/WindowsFormsApplication1/Form1.cs#L58

csharp
private void InitAppointments() {
    AppointmentMappingInfo mappings = this.schedulerStorage1.Appointments.Mappings;
    mappings.Start = "StartTime";

winforms-scheduler-sync-outlook-calendars/CS/SyncWithOutlook/Form1.cs#L48

csharp
private void InitAppointments() {
    AppointmentMappingInfo aptmappings = this.schedulerStorage1.Appointments.Mappings;
    aptmappings.Start = "StartTime";

winforms-scheduler-bind-sql-server-customize-update-delete-insert-queries/VB/Form1.vb#L30

vb
Dim schedulerStorage As SchedulerStorage = schedulerControl1.Storage
Dim appointmentMappings As AppointmentMappingInfo = schedulerStorage.Appointments.Mappings
appointmentMappings.AppointmentId = "ID"

winforms-scheduler-gantt-view/VB/dxT183299/Form1.vb#L72

vb
Private Sub InitAppointments()
    Dim mappings As AppointmentMappingInfo = Me.schedulerStorage.Appointments.Mappings
    mappings.AppointmentId = "Id"

winforms-scheduler-handle-fetchappointments-event/VB/Form1.vb#L54

vb
Private Sub InitAppointments()
    Dim mappings As AppointmentMappingInfo = schedulerStorage1.Appointments.Mappings
    mappings.Start = "StartTime"

how-to-initialize-appointment-images-and-display-text-using-the-custom-field-values-t328320/VB/CustomAppointmentImageAndText/Form1.vb#L71

vb
Private Sub InitAppointments()
    Dim mappings As AppointmentMappingInfo = schedulerStorage1.Appointments.Mappings
    mappings.Start = "StartTime"

winforms-scheduler-replace-default-command/VB/WindowsFormsApplication1/Form1.vb#L58

vb
Private Sub InitAppointments()
    Dim mappings As AppointmentMappingInfo = Me.schedulerStorage1.Appointments.Mappings
    mappings.Start = "StartTime"

Implements

Mappings

See Also

Appointment Mappings

CustomFieldMappings

AppointmentStorageBase Class

AppointmentStorageBase Members

DevExpress.XtraScheduler Namespace