Skip to main content

DxScheduler.AppointmentRemoved Event

Fires after an appointment is removed from the AppointmentsSource object.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


public EventCallback<DxSchedulerAppointmentItem> AppointmentRemoved { get; set; }


Type Description

A DxSchedulerAppointmentItem object that stores a removed appointment.


Use the AppointmentRemoved event to get information about a removed appointment after it has been deleted from the AppointmentsSource object.


To cancel an appointment removal in code, use the AppointmentRemoving event.

The code below uses the AppointmentRemoved event to remove an appointment from a data source after it was deleted from the AppointmentsSource object.

<DxScheduler DataStorage="..."
             AppointmentRemoved="async (e) => await AppointmentRemoved(e)">
    <DxSchedulerDayView ShowWorkTimeOnly="true"></DxSchedulerDayView>

@code {
    async Task AppointmentRemoved(DxSchedulerAppointmentItem e) {
        await Http.DeleteAsync("" + e.Id);

View Example: Scheduler for Blazor - How to implement CRUD operations with a Web API Service

See Also