Apply different color for each dayname

4 posts, 0 answers
  1. Kumar
    Kumar avatar
    46 posts
    Member since:
    Sep 2010

    Posted 30 Sep 2010 Link to this post

    Hi,

    I am using RADCalander of wpf,i want to apply style(color) to type of the day.
    Ex:
    Sun--Red color
    Mon-Blue color
    Tue--Green color

    Could you please help me to sort out this.Its urgent
  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 01 Oct 2010 Link to this post

    Hello Kumar,

    You need to create a custom DayTemplateSelector and set it to the calendar property. Follow the example with this approach.

    All the best,
    Kaloyan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Kumar
    Kumar avatar
    46 posts
    Member since:
    Sep 2010

    Posted 05 Oct 2010 Link to this post

    Hi,

    Thanks for your Reply.

    Can u share any Code to create a custom DayTemplateSelector and set it to the calendar property.It will be helpful for me .



  5. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 06 Oct 2010 Link to this post

    Hello Kumar,

    Find the attached sample.

    Greetings,
    Kaloyan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top