Skip to main content
A newer version of this page is available. .

SchedulerAppointmentFormClosingEventArgs Class

Provides data for the AppointmentFormClosing event.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public class SchedulerAppointmentFormClosingEventArgs :
    EventArgs

Remarks

The AppointmentFormClosing event is raised before the detailed (pop-up) 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 instace, show an information message.
        }
    }
    // ...
}

Inheritance

Object
EventArgs
SchedulerAppointmentFormClosingEventArgs
See Also