Setting the colour scheme for a Silverlight app from an external resource
Posted
by Alex Angas
on Stack Overflow
See other posts from Stack Overflow
or by Alex Angas
Published on 2010-02-17T02:46:29Z
Indexed on
2010/04/04
7:33 UTC
Read the original article
Hit count: 363
I have a Silverlight 3 application containing six custom user controls. I'd like to load the colour scheme for these controls from an external resource.
The code and XAML containing a default colour scheme would be built in the XAP. Then a parameter on the object tag would contain a URL from where alternate colours can be dynamically loaded.
By the way, the Silverlight 3 application theme feature could be used if that's possible but is really overkill. Only colours need to be changed.
Is this possible and how would you recommend to do it?
© Stack Overflow or respective owner