If you don't know a priori what XAML resources exist in an assembly, how can you discover what they are? Assuming you have the assembly itself.
Example... another question listed out a set of theme styles that you can use. So for example you can include:
<ResourceDictionary Source="/PresentationFramework.Classic;component/themes/Classic.xaml"/>
to use the 'classic' theme which resides in PresentationFramework.Classic.dll
. But how could you discover that this assembly resource even existed in the first place?
I looked in object browser in Visual Studio, but it only shows ordinary classes. I looked at the DLL in ILSpy which shows:
but even from this its not really clear how to know what the usable resource path would be.
I'm not sure where else to look.