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 TintedResourceDictionaryReference
class.
public TintedResourceDictionaryReference()
TintedResourceDictionaryReference(ThemedResourceDictionaryReference)
Initializes an instance of the TintedResourceDictionaryReference
class.
public TintedResourceDictionaryReference(ThemedResourceDictionaryReference sourceReference)
Parameter | Type | Description |
---|---|---|
sourceReference | ThemedResourceDictionaryReference | A ThemedResourceDictionaryReference that should be tinted. |
Properties
TintColor
Gets the default Color that is used to tint the resources.
public Color TintColor { get; set; }
Property Value
Remarks
If Colors.Transparent
is specified, no tinting will be performed.
TintGroups
Gets the collection of tint groups that can be referenced in the resources via the Name attached property.
public TintGroupCollection TintGroups { get; }
Property Value
- TintGroupCollection:
The collection of tint groups that can be referenced in the resources via the Name attached property.
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()
Gets a ResourceDictionary initialized using LocationUri.
protected override ResourceDictionary GetResourceDictionary()
Returns
- ResourceDictionary:
The ResourceDictionary that was initialized.
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()