Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SchedulerAppointmentFormType Enum

Lists values that specify the appointment form type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
public enum SchedulerAppointmentFormType

#Members

Name Description
EditForm

The extended (pop-up) form that opens when a user clicks the expand button in the compact edit form.

CompactEditForm

The compact form that appears when a user creates or edits 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