DxScheduler.AppointmentTooltipShown Event
Fires after an appointment tooltip is shown.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public EventCallback<DxSchedulerAppointmentItem> AppointmentTooltipShown { get; set; }
Parameters
Type | Description |
---|---|
DxSchedulerAppointmentItem | An object that stores the appointment. |
Remarks
This event is raised after an appointment tooltip is shown. Use the event argument’s DxSchedulerAppointmentItem property to access the target appointment.
<DxScheduler StartDate="@DateTime.Today"
DataStorage="@DataStorage"
AppointmentTooltipShown="OnAppointmentTooltipShown">
...
</DxScheduler>
@Alert
@code {
...
public string Alert { get; set; } = "";
void OnAppointmentTooltipShown(DxSchedulerAppointmentItem args) {
Alert = "The tooltip for the following appointment has been shown: " + args.Subject ;
}
}
Note
To cancel showing an appointment tooltip in code, use the AppointmentTooltipShowing event.
See Also