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.AppointmentTooltipShowing Event

Fires before an appointment tooltip is shown.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[Parameter]
public EventCallback<SchedulerAppointmentTooltipShowingEventArgs> AppointmentTooltipShowing { get; set; }

#Event Data

The AppointmentTooltipShowing event's data class is SchedulerAppointmentTooltipShowingEventArgs. 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 close the appointment tooltip. The following code snippet cancels displaying a tooltip for all-day appointments.

<DxScheduler StartDate="@DateTime.Today"
             DataStorage="@DataStorage"
             AppointmentTooltipShowing="OnAppointmentTooltipShowing">
    ...
</DxScheduler>

@code {
    ...

    void OnAppointmentTooltipShowing(SchedulerAppointmentOperationEventArgs args) {
        if (args.Appointment.AllDay == true) {
            args.Cancel = true;
        }
    }
}
See Also