I've created a custom calendar delegate for iOS as described here (https://docs.telerik.com/devtools/xamarin/controls/calendar/styling/custom-renderers/calendar-customrenderers-ios), and I'm trying to use it customize the calendar's month title cell. In my delegate, I have:
public
override
void
UpdateVisualsForCell(TKCalendar calendar, TKCalendarCell cell)
{
base
.UpdateVisualsForCell(calendar, cell);
switch
(cell)
{
case
TKCalendarMonthTitleCell monthTitleCell:
FormatMonthTitleCell(monthTitleCell);
break
;
}
}
private
void
FormatMonthTitleCell(TKCalendarMonthTitleCell monthTitleCell)
{
monthTitleCell.Label.Text =
"custom title"
;
}
I can see that the label's text is indeed changed when debugging, however, the title still displays as "[month] [year]". Is there something else that I need to be setting or hooking into in order to change the title?