The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

NotificationsProvider.CustomizeAppointmentMapping Event

Occurs when the NotificationsProvider is initialized by the scheduler storage.

Namespace: DevExpress.ExpressApp.Scheduler

Assembly: DevExpress.ExpressApp.Scheduler.v19.2.dll

Declaration

public event EventHandler<CustomizeAppointmentMappingEventArgs> CustomizeAppointmentMapping
Public Event CustomizeAppointmentMapping As EventHandler(Of CustomizeAppointmentMappingEventArgs)
public event EventHandler<CustomizeAppointmentMappingEventArgs> CustomizeAppointmentMapping
Public Event CustomizeAppointmentMapping As EventHandler(Of CustomizeAppointmentMappingEventArgs)

Event Data

The CustomizeAppointmentMapping event handler receives an argument of the DevExpress.ExpressApp.Scheduler.CustomizeAppointmentMappingEventArgs type.

Remarks

Handle this event to change the list of fields in the data source which will be used in the NotificationsProvider. To subscribe to CustomizeAppointmentMapping, override the OnSetupComplete method of the platform-agnostic module.

protected override void OnSetupComplete() {
    base.OnSetupComplete();
    this.schedulerModuleBase.NotificationsProvider.CustomizeAppointmentMapping += NotificationsProvider_CustomizeAppointmentMapping;
}
private void NotificationsProvider_CustomizeAppointmentMapping(object sender,
    DevExpress.ExpressApp.Scheduler.CustomizeAppointmentMappingEventArgs e) {
    e.AppointmentMappingInfo.ResourceId = null;
}
See Also