Change Calendar Background Color

2 posts, 0 answers
  1. Sal
    Sal avatar
    58 posts
    Member since:
    Feb 2015

    Posted 06 Apr 2015 Link to this post

    Is there an option or upcoming option to change the background color of the Calendar? I tried just using the background color option but that doesn't seem to work or is just ignored. Trying to theme the calendar to match an upcoming app and the light gray background just isn't working out with it. 
  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 07 Apr 2015 Link to this post

    Hi Sal,

    You can change the background of TKCalendar control by setting the backgroundColor property in current presenter style. For example you can use the following code when using month presenter:
    TKCalendarMonthPresenter *presenter = (TKCalendarMonthPresenter*)self.calendarView.presenter;
    presenter.style.backgroundColor = [UIColor redColor];

    Do not hesitate to write back if you need further assistance.

    Regards,
    Jack
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. DevCraft banner
Back to Top