Change MouseOver color of the Calendar

5 posts, 1 answers
  1. Nithya
    Nithya avatar
    7 posts
    Member since:
    Mar 2011

    Posted 22 Oct 2011 Link to this post

    How to change the mouse hover color from yellow to any other color using Calendar styles visual states..
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 24 Oct 2011 Link to this post

    Hi Nithya,

    The yellow mouse over color is the mouse over state of the ButtonChrome control which is part of all buttons in RadCalendar. If you wish to change the mouse over color, you will need to edit the style for the ButtonChrome control and its brushes.

    If you are referring to the mouse over state of the DayButton, you can easily change that by generating the DayButtonStyle from Expression Blend. Then, find the SelectionChrome which is part of template in the the style. Generate the style for the SelectionChrome and modify itsHighlighted visual state.

    The change will be reflected in the mouse over state of the DayButton.

    I hope this helps.

    Kind regards,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
  4. Nithya
    Nithya avatar
    7 posts
    Member since:
    Mar 2011

    Posted 28 Oct 2011 Link to this post

    Hi,
        Thanks, I tried it, but i cannot get.
          if you have sample code for change the mouse over color.. please share it...
  5. Answer
    Dani
    Admin
    Dani avatar
    848 posts

    Posted 28 Oct 2011 Link to this post

    Hello Nithya,

    Please, check the attached project. It demonstrates modified DayButton mouse over colors. Please, examine the resources in Blend. Attached is also a screenshot for reference.

    I hope this helps.

    Greetings,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  6. Nithya
    Nithya avatar
    7 posts
    Member since:
    Mar 2011

    Posted 29 Oct 2011 Link to this post

    Hi,
         Thanks its working well...
Back to Top
DevCraft banner