ThemedResourceDictionaryReference Class
Provides a reference to a themed ResourceDictionary and describes its contents.
public class ThemedResourceDictionaryReference
- Inheritance:
- Object Object
- Derived:
- TintedResourceDictionaryReference
Constructors
ThemedResourceDictionaryReference()
public ThemedResourceDictionaryReference()
Properties
AreThemesExclusive
Gets or sets a value indicating whether the Themes property is inclusive or exclusive.
public bool AreThemesExclusive { get; set; }
Property Value
LocationUri
Gets or sets the Uri pointing to the location of the XAML-based resource dictionary.
public Uri LocationUri { get; set; }
Property Value
Themes
Gets or sets the collection of theme names (e.g. Generic, OfficeBlue, etc.) for which the resources apply or don't apply based on the AreThemesExclusive property.
public IEnumerable<string> Themes { get; set; }
Property Value
- IEnumerable<String>:
The collection of theme names.
Methods
GetResourceDictionary()
Gets a ResourceDictionary initialized using LocationUri.
protected virtual ResourceDictionary GetResourceDictionary()
Returns
- ResourceDictionary:
The ResourceDictionary that was initialized.