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

SchedulerAppointmentFormType Enum

Lists values that specify the appointment form type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum SchedulerAppointmentFormType

Members

Name Description
EditForm

The detailed (pop-up) form that appears when you create an appointment and then click the expand button, or when you edit an appointment.

CompactEditForm

The compact form that appears when you create an appointment.

Related API Members

The following properties accept/return SchedulerAppointmentFormType values:

Remarks

The following example uses SchedulerAppointmentFormType values in the AppointmentFormShowing event handler to identify the form type:

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

@code {
    void OnAppointmentFormShowing(SchedulerAppointmentFormEventArgs args) {
        if (args.FormType == SchedulerAppointmentFormType.CompactEditForm) { 
            args.Cancel = true;
        }
    }
    // ...
}
See Also