• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

ResourceDictionary question

L

Louis Yeung

#1
Hi,

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.

...Louis
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)