WPF Reflections

Oct 16 2008   12:44PM GMT

WPF Resources



Posted by: MarkWPF
WPF

Firstly, what is a resource?

In the world of WPF, it means two things:

  1. an assembly resource
  2. an object resource

An assembly resource is a blob of data that has been embedded in your assembly. Examples are images, videos or sounds.

An object resource is slightly different. It specifies a re-usable chunk of information, but is a .Net framework object instead.
In the WPF world, that means defining things like styles.
It also means being able to re-use those chunks in different areas of your program.

Comment on this Post

Leave a comment: