This is a migrated thread and some comments may be shown as answers.

Change MouseOver color of the Calendar

4 Answers 143 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Nithya
Top achievements
Rank 1
Nithya asked on 22 Oct 2011, 06:32 AM
How to change the mouse hover color from yellow to any other color using Calendar styles visual states..

4 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 24 Oct 2011, 01:03 PM
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 >>
0
Nithya
Top achievements
Rank 1
answered on 28 Oct 2011, 07:37 AM
Hi,
    Thanks, I tried it, but i cannot get.
      if you have sample code for change the mouse over color.. please share it...
0
Accepted
Dani
Telerik team
answered on 28 Oct 2011, 11:25 AM
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 >>
0
Nithya
Top achievements
Rank 1
answered on 29 Oct 2011, 06:57 AM
Hi,
     Thanks its working well...
Tags
Calendar
Asked by
Nithya
Top achievements
Rank 1
Answers by
Dani
Telerik team
Nithya
Top achievements
Rank 1
Share this question
or