Skip to main content
A newer version of this page is available. .
All docs
V23.1

DxScheduler.AppointmentTooltipClosing Event

Fires before an appointment tooltip is closed.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[Parameter]
public EventCallback<SchedulerAppointmentTooltipClosingEventArgs> AppointmentTooltipClosing { get; set; }

Event Data

The AppointmentTooltipClosing event's data class is SchedulerAppointmentTooltipClosingEventArgs. The following properties provide information specific to this event:

Property Description
Appointment Specifies the target appointment. Inherited from SchedulerAppointmentOperationEventArgs.
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.

Remarks

You can set the event argument’s Cancel property to true to keep the appointment tooltip open.

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             AppointmentTooltipClosing="OnAppointmentTooltipClosing">
    ...
</DxScheduler>

@code {
    ...

    void AppointmentTooltipClosing(SchedulerAppointmentOperationEventArgs args) {
        if (your custom logic) {
            args.Cancel = true;
        }
    }
}
See Also