How to change the border color of RadCalendar Grid?

7 posts, 1 answers
  1. Tomonari Fukuda
    Tomonari Fukuda avatar
    2 posts
    Member since:
    Feb 2010

    Posted 26 Aug 2011 Link to this post

    Hi.

    How to change the border color of RadCalendar Grid?

    I check thruough the ControlTemplate & ItemTemplate of RadCalendar.
    But I cant find the property or style of the border color of RadCalendar.

    Regards,
    Fukuda
  2. Answer
    Victor
    Admin
    Victor avatar
    1351 posts

    Posted 30 Aug 2011 Link to this post

    Hi Tomonari Fukuda,

     Thank you for writing.
    I am afraid that the color of the lines is currently hardcoded to the PhoneForegroundBrush resource, it can not be modified through XAML. We will consider adding a property in order to remove this limitation.

    Please write again if you have other questions about our controls.

    Regards,
    Victor
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  3. DevCraft banner
  4. Shaiket
    Shaiket avatar
    2 posts
    Member since:
    Sep 2007

    Posted 04 Sep 2011 Link to this post

    Thank you. We are facing similar problems as well and need to update the border colors. I hope this feature will make it in the next release.
  5. Tomonari Fukuda
    Tomonari Fukuda avatar
    2 posts
    Member since:
    Feb 2010

    Posted 05 Sep 2011 Link to this post

    Hi

    Finally i solved the problem by creating the border line component(simple Path) over the RadCalendar. Write a new Path tag in the next line of the RadCalendar tag in xaml.
  6. Fredrik
    Fredrik avatar
    54 posts
    Member since:
    Sep 2010

    Posted 03 Nov 2011 Link to this post

    Hi !!!

    I need this feauture too....
    Will try the simple path until it is possible.
    Hmm, no luck and I also need to change the daynames and days from next month colors.
    An example of styling this component would bee great.

    Regards

    Fredrik
  7. Fredrik
    Fredrik avatar
    54 posts
    Member since:
    Sep 2010

    Posted 07 Nov 2011 Link to this post

    Hi !!

    I have now branded all of our telerik controls to our company colors, except the RadCalendar.
    Is this going to be possible in the Q3 release ?
    I need to style the grid border colors and the daynames.

    Regards

    Fredrik
  8. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 07 Nov 2011 Link to this post

    Hi Fredrik,

     Yes the grid lines will be tweakable for the Q3 2011 release. We have added a new property called GridLinesBrush that can be set on RadCalendar.
    You can modify the day names by modifying the default style for RadCalendar. You need to update the WeekName visual state to be the color you want.

    You can easily extract the default RadCalendar style with the .NET Reflector tool, just look in the assembly resources and the save the calendar theme as a file.

    Please write again if you need further assistance.

    Best wishes,
    Victor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner