C# – WPF: Applying styles throught the application

c++styleswpf

In WPF, where can I put styles that should be applied throughout the application?

This is because currently, whenever I use a style, I put it in the <Window.Resources> section of every window, which ofcourse is wrong in so many ways.

So where can I put these styles to apply throughout?

Best Solution

<Application.Resources> in your App.xaml