开发者

WPF apply theme to single control

开发者 https://www.devze.com 2023-02-07 20:55 出处:网络
I\'m using the WPF themes available on http://wpf.codeplex.com but I\'d like to apply one of the themes to only a progressbar and leave the rest as it is. Is this possi开发者_C百科ble?Easy way is to f

I'm using the WPF themes available on http://wpf.codeplex.com but I'd like to apply one of the themes to only a progressbar and leave the rest as it is. Is this possi开发者_C百科ble?


Easy way is to find out the ProgressBar Style from the Resourcedictionary and paste that on to your Resource. Remember to pull other depending Brushes and Styles which references via StaticResource binding inside the progressbar style somewhere.

0

精彩评论

暂无评论...
验证码 换一张
取 消