Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

NotificationsProvider.CustomizeAppointmentMapping Event

Occurs when the NotificationsProvider is initialized by the scheduler storage.

Namespace: DevExpress.ExpressApp.Scheduler

Assembly: DevExpress.ExpressApp.Scheduler.v24.2.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 data source fields that is used in the NotificationsProvider in your Windows Forms or ASP.NET Web Forms application. To subscribe to CustomizeAppointmentMapping, override the OnSetupComplete method of the MySolution\Module project.

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

Note

To customize appointment mappings in an XAF ASP.NET Core Blazor application, use the OnSchedulerDataStorageCreated event. For more information, refer to the following topic: How to: Customize Status and Label Properties.

See Also