Aks
Aks

Reputation: 5236

WPF apply theme to single control

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 possible?

Upvotes: 2

Views: 337

Answers (1)

Jobi Joy
Jobi Joy

Reputation: 50038

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.

Upvotes: 1

Related Questions