Adjust a Control Template and still respect the Theme of the OS?

Posted by bitbonk on Stack Overflow See other posts from Stack Overflow or by bitbonk
Published on 2009-06-11T08:56:51Z Indexed on 2010/03/30 19:53 UTC
Read the original article Hit count: 463

Filed under:
|
|

In WPF how do I modifiy the template for a standard control in a way that it will respect the current Theme of the Operating System later on? If I just "edit a copy" of the template in blend, it will just give me the template of the currently running theme. Is this correct? So when I apply the modified template and run the app on different themes it will always look the same.

For custom controls and even for data templates the problem is similar. How do I provide a template that respects all possible themes of the OS?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about themes