Skip to main content

DxScheduler.AppointmentFormClosing Event

Fires before the appointment form is closed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.2.dll

NuGet Package: DevExpress.Blazor


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 compact or pop-up 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 instance, show an information message).
    // ...

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

See Also