Skip to main content
Home Forums Silverlight Programming Silverlight Controls and Silverlight Toolkit Skin Changing Problem
3 replies. Latest Post by HarshBardhan on October 9, 2008.
(0)
varunchopra
Member
38 points
56 Posts
10-08-2008 2:53 AM |
Hi,
I am making a media player in silverlight 2 b2 . I want to give an option of changing skins. How can i do that???
Should i keep different xaml of each skin and on skin change click i reload the whole control by changing loading class in App.xaml.cs???? or
I keep different styles for every element in Player so that i can apply that style in the code.. But i found that i can change the style of any element only once in the code otherwise it throws an exception..Am i wrong?? if am right is there any work around??
or there can be any third way ... ????
Plz help
-varun
HarshBar...
Star
9908 points
1,719 Posts
10-08-2008 7:44 AM |
You can not change astyle but you You can apply a content Template in code behind.
10-09-2008 4:10 AM |
Hi Harsh,
can you plz explain how to do that. or give me link wherein i cant get the hang of it..thx
10-09-2008 4:25 AM |
check this link.
http://silverlight.net/forums/t/27083.aspx
It discusses about that.If you are still facing problem let me know ...