Belofte maakt schuld, as us Belgians would say, “promise is a promise”: I finally cleaned up the source code to the ExtensionsMadeEasy extension.
You can find the sources for the extension (including the API) on CodePlex, and clicking on the Source Code tab. Please don’t post urgent questions in the CodePlex page, I will not be checking it on a regular base!
There’s really not much source code, small is beautiful.
There’s no comments in the code. It was hard to write, it should be hard to understand. (Obviously, it was easy to write, I will add source code comments and a blog post explaining the solution in detail when I find some time!)
Have fun, don’t be too hard on me and feel free to contact me using the comment section below or on Twitter (@janvanderhaegen) with all your requests, suggestions, …
Jan, is there any way to change or design a theme (or individual control) at run time?
Bad news: I wish there was, but I don’t know of any easy ways (and believe you me, I’ve searched and experimented quite a bit!!!)
Good news: I actually did create a working sample for a couple of controls that can be styled at runtime, but I need at least a couple of weeks before it’s anywhere near blog-ready… 😦
I read in forum said, through a custom Shell, this can be done (theoretically at least). Having hope in you, someday I believe you may achieve this! 🙂
The only ways I found working are either:
a) have the user restart the application (unworkable & slow approach IMHO)
b) design the entire theme around it… (and that will take a while)
I would be very interested if someone found another approach though. Do you have the link to that forum post?
Besides.. plz call me ‘Bala’ 🙂
Aiiigh, nice to meet you Bala! 🙂
Here it is…
How to allow users to change themes?
http://social.msdn.microsoft.com/Forums/en-US/lsextensibility/thread/36f0126d-b800-45ea-b641-93bba8d9326f
==
Nice to meet u too!
….
Challenge accepted.
There u go!!! 🙂 Thats sounds like Jan!! 🙂