Skip to main content

DxScheduler.AppointmentTooltipClosed Event

Fires after an appointment tooltip is closed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public EventCallback<DxSchedulerAppointmentItem> AppointmentTooltipClosed { get; set; }

Parameters

Type Description
DxSchedulerAppointmentItem

An object that stores the appointment.

Remarks

This event is raised after the appointment tooltip is closed. Use the event argument’s DxSchedulerAppointmentItem property to access the target appointment.

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             AppointmentTooltipClosed="OnAppointmentTooltipClosed">
    ...
</DxScheduler>

@Alert

@code {
    ...

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

    void OnAppointmentTooltipClosed(DxSchedulerAppointmentItem args) {
        Alert = "The tooltip for the following appointment has been closed: " + args.Subject ;
    }
}

Note

To cancel closing an appointment tooltip in code, use the AppointmentTooltipClosing event.

See Also