![Avatar](https://secure.gravatar.com/avatar/a6eda9992c171e9fd308dcf0b51340cf.jpg?s=64&d=identicon&r=g)
I've been trawling the HTML help and this forum, and I cannot find anywhere an example of the code required to apply a theme to an application. I can find plenty of pictured examples of the results of using themes, but not how it's accomplished. Even the theme-specific code in the Sample Browser doesn't seem to refer to any theme. I'm not yet sure whether I'm looking for XAML, C#, either, or both. Help, please!