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

DxScheduler.AppointmentFormShown Event

Fires after an appointment form is shown.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public EventCallback<DxSchedulerAppointmentItem> AppointmentFormShown { get; set; }

#Parameters

Type Description
DxSchedulerAppointmentItem

An object that stores the appointment.

#Remarks

This event is raised after an appointment form is shown. Use the event argument’s DxSchedulerAppointmentItem property to access the target appointment.

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             AppointmentFormShown="OnAppointmentFormShown">
    ...
</DxScheduler>

@Alert

@code {
    ...

    public string Alert { get; set; } = "";

    void OnAppointmentFormShown(DxSchedulerAppointmentItem args) {
        Alert = "The edit form for the following appointment has been shown: " + args.Subject ;
    }
}

Note

To cancel showing an appointment form in code, use the AppointmentFormShowing event.

See Also