Jaa


KeyedResourceDictionary Class

Maintains reference of ResourceDictionary items and auto-loads resources from well-known locations.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Hosting
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Public Class KeyedResourceDictionary
public class KeyedResourceDictionary
public ref class KeyedResourceDictionary
public class KeyedResourceDictionary

Remarks

This dictionary is used in with hosted WPF applications to help maintain sets of dictionaries can be added to and referenced by the GlobalResources static facade and used via Xaml by the MergedDictionariesProperty.
This dictionary generally maintains its reference of ResourceDictionary items as WeakReferences by default. But can optionally maintain strongly-held references.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Hosting.KeyedResourceDictionary

See Also

KeyedResourceDictionary Members

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.Hosting Namespace