TintedResourceDictionaryReference Class
Provides a reference to a themed ResourceDictionary that should be tinted and describes its contents.
public class TintedResourceDictionaryReference : ThemedResourceDictionaryReference
- Inheritance:
- object ThemedResourceDictionaryReference object
Constructors
TintedResourceDictionaryReference()
Initializes an instance of the class.
public TintedResourceDictionaryReference()
TintedResourceDictionaryReference(ThemedResourceDictionaryReference?)
Initializes an instance of the class.
public TintedResourceDictionaryReference(ThemedResourceDictionaryReference? sourceReference)
| Parameter | Type | Description |
|---|---|---|
| sourceReference | ThemedResourceDictionaryReference | A ThemedResourceDictionaryReference that should be tinted. |
Properties
TintColor
The default Color that is used to tint the resources.
public Color TintColor { get; set; }
Property Value
- Color:
The default value is Transparent.
Remarks
If Transparent is specified, no tinting will be performed.
TintGroups
The collection of tint groups that can be referenced in the resources via the Name attached property.
public TintGroupCollection TintGroups { get; }
Property Value
Remarks
If left unmodified, the default collection will contain a TintGroup named NoTint that
prevents tinting from occurring on resources that reference it.
Methods
GetResourceDictionary()
A ResourceDictionary initialized using LocationUri.
Inherited Members
- ThemedResourceDictionaryReference.AreThemesExclusive
- ThemedResourceDictionaryReference.LocationUri
- ThemedResourceDictionaryReference.Themes
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()