RadzenScheduler RadzenYearView Render Callback

Thanks @korchev.

The idea of using the SlotRender as a workaround is sound.

I set the --rz-scheduler-event-background-color variable in the SlotRender callback to change the “circle” colour.

Eg

void OnSlotRender(SchedulerSlotRenderEventArgs args)

{

    // Highlight today in month view

    if (args.View.Text == "Month" && args.Start.Date == DateTime.Today)

    {

        args.Attributes["style"] = "--rz-scheduler-event-background-color: var(--rz-scheduler-highlight-background-color, rgba(255,220,40,.2));";

    }

}

I’ll have a play and see if I can use a similar approach for a tool tip.

EDIT: Would it be possible to have SlotMouseEnter and SlotMouseLeave events?