(I'm using Xamarin dll version 2016.2.513.0.)
The solution suggested in the calendar specification (i.e. to override ViewForCellOfKind) doesn't seem to work flow view.
Is there a way to do it?
5 Answers, 1 is accepted
You can customize the appearance of day cells with the updateVisualsForCell method of the TKCalendarDelegate. Consider the following snippet.
public override void UpdateVisualsForCell (TKCalendar calendar, TKCalendarCell cell)
{
if (cell is TKCalendarDayCell) {
TKCalendarDayCell dayCell = (TKCalendarDayCell)cell;
cell.Style.TextColor = new UIColor.Green;
}
}
Regards,
Sophi
Telerik by Progress
Hi Sophi,
Indeed it is possible to update styles for the cell in the UpdateVisualsForCell. Unfortunately this method is called before events for the cell are calculated, and in my case the style of the cell depends on those events.
Is this a bug? Or a feature?
Regards,
Wojtek
Hi,
In fact what I'm trying to achieve is to use flow calendar to show some events on it. The events are loaded from backend month by month. Do you have any recommendations, patterns, or best practices on how to work with such cases?
Regards,
Wojtek
Hi,
In fact what I'm trying to achieve is to use flow calendar view to display events loaded from backed month by month. Do you have any recommendations or best practices to implement such a thing?
Regards,
Wojtek
Thanks for writing back and for the further clarifications.
Your case is a bit challenging. We're looking into ways to implement a proof of concept for your scenario and will get back to you until the end of the day.
Regards,
Deyan
Telerik by Progress