Click here to Skip to main content
15,860,972 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi
I have some colored buttons which i want them to have a glow effect whenever the mouse is over it. I have made the glow by drop shadow effect in wpf4.my problem is i want the color of the shadow to be bind with one of the properties of the button like Foreground. the problem is i cant because the type of the color is Color but the type of the Foreground is Brush. any helps?

P.S: because it's in a button style i want this binding to be done in xaml.

thank you and sorry for my English if there is any mistakes!
Posted

1 solution

 
Share this answer
 
v2
Comments
Espen Harlinn 31-Oct-11 11:38am    
5'ed - seems I need more time to read the questions than you need to answer them :)
Nish Nishant 31-Oct-11 11:41am    
:-) Had some free time while waiting for a big download to finish (images for a project).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900