Back to Devexpress

DxScheduler.AppointmentTooltipClosed Event

blazor-devexpress-dot-blazor-dot-dxscheduler-67c3a6de.md

latest1.6 KB
Original Source

DxScheduler.AppointmentTooltipClosed Event

Fires after an appointment tooltip is closed.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Parameters

TypeDescription
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.

razor
<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

DxScheduler Class

DxScheduler Members

DevExpress.Blazor Namespace