Skip to main content
All docs
V25.1
  • DxScheduler.AppointmentFormClosed Event

    Fires after the appointment form is closed.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [Parameter]
    public EventCallback<DxSchedulerAppointmentItem> AppointmentFormClosed { get; set; }

    Parameters

    Type Description
    DxSchedulerAppointmentItem

    An object that stores the appointment.

    Remarks

    This event is raised after an appointment form is closed. Use the event argument’s DxSchedulerAppointmentItem property to access the target appointment.

    <DxScheduler StartDate="@DateTime.Today"
                 DataStorage="@DataStorage"
                 ActiveViewType="SchedulerViewType.WorkWeek"
                 AppointmentFormClosed="OnAppointmentFormClosed">
        @*...*@
    </DxScheduler>
    
    @Alert
    
    @code {
        ...
    
        public string Alert { get; set; } = "";
    
        void OnAppointmentFormClosed(DxSchedulerAppointmentItem args) {
            Alert = "The edit form for the following appointment has been closed: " + args.Subject ;
        }
    }
    
    See Also