Highlight multiple selected dates with different colors

3 posts, 0 answers
  1. Alexander
    Alexander avatar
    2 posts
    Member since:
    May 2014

    Posted 19 Jun 2014 Link to this post

    Hello,
    I need to highlight some calendar selected dates with red colour and some with grey. Could you please advise how it's easier to do with radcalendar?

    Thanks
    Alex
  2. Masha
    Admin
    Masha avatar
    355 posts

    Posted 23 Jun 2014 Link to this post

    Hello,

    RadCalendar does not support the described scenario out-of-the-box. I suggest that you create a Custom Visual state inside of SelectionStates VisualGroup of CalendarButtonStyle. After that  you can use an attached property with desired logic to control the newly created VisualState.

    I've attached a sample solution demonstrating the above approach.
    Hope it helps.

    Regards,
    Masha
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alexander
    Alexander avatar
    2 posts
    Member since:
    May 2014

    Posted 23 Jun 2014 in reply to Masha Link to this post

    Thanks a lot!
Back to Top