DxScheduler.AppointmentFormClosing Event

Fires before the appointment form is closed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll


public EventCallback<SchedulerAppointmentFormClosingEventArgs> AppointmentFormClosing { get; set; }

Event Data

The AppointmentFormClosing event's data class is SchedulerAppointmentFormClosingEventArgs. The following properties provide information specific to this event:

Property Description
FormType Specifies the appointment form type.


This event is raised before the detailed (pop-up) or compact appointment form is closed. Use the event argument's FormType property to identify which form is used.

<DxScheduler StartDate="@DateTime.Today"

@code {
    void OnAppointmentFormClosing(SchedulerAppointmentFormClosingEventArgs args) {
        if (args.FormType == SchedulerAppointmentFormType.CompactEditForm) { 
            // Respond to form closing. For instace, show an information message.
    // ...

The AppointmentFormShowing event is raised before the appointment form is shown.

See Also