Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi....

I am creating Silverlight Application. In My Application I want to add Functionality for dynamically change Themes. Like I have two Themes(Blue.xaml, Gray.xaml).
And In My Home Page there are two button which is Blue and Gray. I want to Change Theme based on Button Click.
Can any one help me?



Thnx in Advance.
Posted
Comments
Uday P.Singh 13-Dec-11 5:58am    
why don't you make different user controls for different themes and call them on button click.
Sagar Rawal 13-Dec-11 7:08am    
it may increase system load. and if we apply style it works faster than that...
Savalia Manoj M 13-Dec-11 7:11am    
yes, Sagarworld31 You are right,
But my problem is that how to apply theme?
Please send link if you know?
Savalia Manoj M 13-Dec-11 7:10am    
But how to create it?
Please give me link for sample if you know any?
Savalia Manoj M 13-Dec-11 23:03pm    
Thanks Uday, Please give me link for sample if you know any?

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