control-templates

Can WPF themes be used to include multiple skins for an application that can be changed at runtime?

WPF allows a control library to provide different resource dictionaries for different system themes, essentially allowing an application to match the operating system's selected visual theme (Aero, Luna, etc). I'm wondering if I can include multiple theme resource dictionaries with my application and utilise some existing theme support ...

wpf error template - red box still visible on collapse of an expander

Hi, I'm doing some validation on the DataSource of TextBox that's within an Expander and have found that once a validation error has been triggered, if I collapse the Expander, the red box stays where the TextBox would have been. <Expander Header="Blah Blah Blah"> <TextBox Name="TextBox" Validation.ErrorTemplate="{DynamicR...