NotificationsProvider.CustomizeAppointmentMapping Event
Occurs when the NotificationsProvider is initialized by the scheduler storage.
Namespace: DevExpress.ExpressApp.Scheduler
Assembly: DevExpress.ExpressApp.Scheduler.v19.1.dll
Declaration
public event EventHandler<CustomizeAppointmentMappingEventArgs> CustomizeAppointmentMapping
Event Data
The CustomizeAppointmentMapping event's data class is DevExpress.ExpressApp.Scheduler.CustomizeAppointmentMappingEventArgs.
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