Class SharedResourceDictionary
The shared resource dictionary is a specialized resource dictionary that loads it content only once. If a second instance with the same source is created, it only merges the resources from the cache.
Inheritance
System.Object
SharedResourceDictionary
Implements
System.IDisposable
Namespace: Syncfusion.Windows.Chart
Assembly: Syncfusion.Chart.Wpf.dll
Syntax
public class SharedResourceDictionary : ResourceDictionary, IDisposable
Constructors
SharedResourceDictionary()
Called when instance created for SharedResourceDictionary
Declaration
public SharedResourceDictionary()
Properties
SharedDictionaries
Returns internal cache of shared loaded dictionary
Declaration
public Dictionary<string, ResourceDictionary> SharedDictionaries { get; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Windows.ResourceDictionary> |
Source
Gets or sets the uniform resource identifier (URI) to load resources from.
Declaration
public Uri Source { get; set; }
Property Value
Type |
---|
System.Uri |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Implements
System.IDisposable