I am new to WPF especially resourceDictionary. I am confused on "build
action - page/resource" on a XAML file containing only a ResourceDictionary.
I know the g.resources contains .baml in page mode and .xaml in resource
mode. The LoadComponent method can deal with .baml properly.
Examples in resourceDictionary generally use the resource mode. I know it
works. Can someone tell me the difference on the difference in build mode in
this case? I assume an embedded xaml is liternally the original XAML file. If
so, how does WPF create the actual resourceDictionary from source code?
Thanks for showing me the way.