Skip to main content

SchedulerAppointmentFormClosingEventArgs Class

Provides data for the AppointmentFormClosing event.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public class SchedulerAppointmentFormClosingEventArgs :
    SchedulerAppointmentOperationEventArgs

Remarks

The AppointmentFormClosing event is raised before the extended or compact appointment form is closed. Use the event argument’s FormType property to identify the form.

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             ActiveViewType="SchedulerViewType.WorkWeek"
             AppointmentFormClosing="OnAppointmentFormClosing">
    @*...*@
</DxScheduler>

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

Inheritance

See Also