WpfSvgPalette Members
A palette for the SVG image.Constructors
Name | Description |
---|---|
WpfSvgPalette() | Initializes a new instance of the WpfSvgPalette class with default settings. |
Fields
Name | Description |
---|---|
PaletteProperty static | Identifies the WpfSvgPalette.Palette attached property. |
Properties
Name | Description |
---|---|
Comparer | Gets the IEqualityComparer<T> that is used to determine equality of keys for the dictionary. Inherited from Dictionary<TKey,TValue>. |
Count | Gets the number of key/value pairs contained in the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
Item[TKey] | Gets or sets the value associated with the specified key. Inherited from Dictionary<TKey,TValue>. |
Keys | Gets a collection containing the keys in the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
OverridesThemeColors | Gets or sets whether the default palettes are overridden. |
States | Allows you to create certain palettes for specific states. |
ICollection.IsSynchronized | Gets a value that indicates whether access to the ICollection is synchronized (thread safe). Inherited from Dictionary<TKey,TValue>. |
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. Inherited from Dictionary<TKey,TValue>. |
IDictionary.IsFixedSize | Gets a value that indicates whether the IDictionary has a fixed size. Inherited from Dictionary<TKey,TValue>. |
IDictionary.IsReadOnly | Gets a value that indicates whether the IDictionary is read-only. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Item[Object] | Gets or sets the value with the specified key. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Keys | Gets an ICollection containing the keys of the IDictionary. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Values | Gets an ICollection containing the values in the IDictionary. Inherited from Dictionary<TKey,TValue>. |
Values | Gets a collection containing the values in the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
Methods
Name | Description |
---|---|
Add(TKey, TValue) | Adds the specified key and value to the dictionary. Inherited from Dictionary<TKey,TValue>. |
BeginInit() | For internal use. |
Clear() | Removes all keys and values from the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
ContainsKey(TKey) | Determines whether the Dictionary<TKey,TValue> contains the specified key. Inherited from Dictionary<TKey,TValue>. |
ContainsValue(TValue) | Determines whether the Dictionary<TKey,TValue> contains a specific value. Inherited from Dictionary<TKey,TValue>. |
EndInit() | For internal use. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
GetEnumerator() | Returns an enumerator that iterates through the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
GetHashCode() | Serves as the default hash function. Inherited from Object. |
GetObjectData(SerializationInfo, StreamingContext) | Implements the ISerializable interface and returns the data needed to serialize the Dictionary<TKey,TValue> instance. Inherited from Dictionary<TKey,TValue>. |
GetPalette(DependencyObject) static | Gets the value of the WpfSvgPalette.Palette attached property for a specified DependencyObject. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
OnDeserialization(Object) | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. Inherited from Dictionary<TKey,TValue>. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
Remove(TKey) | Removes the value with the specified key from the Dictionary<TKey,TValue>. Inherited from Dictionary<TKey,TValue>. |
ReplaceBrush(String, String, String, out Brush) | Allows you to replace colors for the palette. |
ReplaceColor(String, String, String, out Color) | Allows you to replace colors for the palette. |
SetPalette(DependencyObject, WpfSvgPalette) static | Sets the value of the WpfSvgPalette.Palette attached property for a specified DependencyObject. |
ICollection.CopyTo(Array, Int32) | Copies the elements of the ICollection<T> to an array, starting at the specified array index. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Add(Object, Object) | Adds the specified key and value to the dictionary. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Contains(Object) | Determines whether the IDictionary contains an element with the specified key. Inherited from Dictionary<TKey,TValue>. |
IDictionary.GetEnumerator() | Returns an IDictionaryEnumerator for the IDictionary. Inherited from Dictionary<TKey,TValue>. |
IDictionary.Remove(Object) | Removes the element with the specified key from the IDictionary. Inherited from Dictionary<TKey,TValue>. |
IEnumerable.GetEnumerator() | Returns an enumerator that iterates through the collection. Inherited from Dictionary<TKey,TValue>. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
TryGetValue(TKey, TValue) | Gets the value associated with the specified key. Inherited from Dictionary<TKey,TValue>. |
Attached Properties
Name | Description |
---|---|
Palette static | Allows you to specify a palette for the SVG image. This is an attached property. |
See Also