I might have missed something, but I can’t seem to function/callback to change the appearance of the RadzenYearView appointments. It looks like the slot itself can be changed via SlotRender, but not the day circle itself? The AppointmentRender isn’t called, presumably because it’s represents the day not the actual appointment.
It’d be useful to be able to change this, and allow for custom tooltips like we can for the other views.
Indeed the AppointmentRender event isn't called in year view as events are not rendered. A css class is applied to the slot to specify that it has events. So in effect there are no appointments you can customize. You can change the styling of the .rz-has-appointments class that is applied. You can also use the SlotRender event to apply custom attributes to the slot if args.Appointments is not null and has any items.
It is possible, but it would require a fairly substantial change to how RadzenScheduler renders slots, and we’d prefer to avoid that if we can. Here’s why.
MouseEnter/MouseLeave scenarios typically need an ElementReference in the event args (for example, to position/show a tooltip). That requires capturing a reference on the element, e.g.:
To support these events properly, we’d need to introduce a dedicated slot component instead of emitting plain <div> elements. The downside is that this would add performance and memory overhead: each slot would become its own Blazor component with its own lifecycle and allocations, just to handle mouseenter/mouseleave and pass an ElementReference upward.
As a workaround I can suggest to use the SlotRender event and the html title attribute that should display normally on hover to tell that there are appointments in this slot.