Is it possible to make customizable WPF styles?
Posted
by Dheeraj Kumar
on Stack Overflow
See other posts from Stack Overflow
or by Dheeraj Kumar
Published on 2010-06-11T06:11:18Z
Indexed on
2010/06/11
6:12 UTC
Read the original article
Hit count: 607
I really like WPF because of its awesome skinning support by changing resourcedictionaries on the fly, but the catch is, the styles must be made by designers in XAML. My client needs a skinnable UI where the end users can make skins themselves. My question is -
In Photoshop, you can take any image, and add a color overlay to change all the colors to that hue. Can you do something similar in WPF? I'm just a beginner, and looking at several WPF styles, it seems like all the color values are hard-coded.
Here's a sample scenario - user selects two colors from color pickers, and all the controls have a gradient background from Color1 to Color2.
© Stack Overflow or respective owner