What's the best approach for global theme resources in WPF Class Library when App.xaml is not available?

Lucas Cordeiro 0 Reputation points
2025-08-28T13:56:58.0333333+00:00

What is the recommended approach for globally registering theme resources in a WPF class library ?

Are there official patterns or alternatives to App.xaml that can provide similar global resource resolution capabilities in this scenario?

We've also created a discussion in the official WPF repository: https://github.com/dotnet/wpf/discussions/11075

Developer technologies | Windows Presentation Foundation
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.