#51 – Resources

In WPF and Silverlight, the term resource generally refers to .NET objects or values that are to be used in multiple places.  Resources are a basic mechanism for reuse in Silverlight and WPF.

Resources are stored in resource dictionaries–collections of resource objects indexed by their keys (typically string-valued keys).

Resources generally represent objects like: styles, templates, brushes and colors.  They can also represent storyboards, transforms, or 3D matrices.

Advertisement