. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Saturday, June 25, 2005

Looks like you can do it! Yipee!

I was looking around the Internet to see if anyone has automatically loaded a resource file so that you can skin an XAML app.

It turns out that it has been done and is quite easy.

http://www.dave5.com/blog/Trackback.aspx?guid=47778bf9-abaf-46a9-aeee-d37ae2658fbe shows a simple method (I think based on the link below). Simply it loads a resource and then assigns it to the application.

http://blogs.msdn.com/mitchw/articles/68541.aspx: shows a more complete example of how to load a "Style" resource at runtime. In the styles you can have new visual trees and the like that you would have in any application.

Some code to load XAML at runtime can be found

Comments: [Add New]