Class SvgCustomAttributeCollection
- Namespace
- Svg
- Assembly
- Svg.dll
A collection of Custom Attributes
public sealed class SvgCustomAttributeCollection : Dictionary<string, string>, IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, IReadOnlyDictionary<string, string>, IReadOnlyCollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable
- Inheritance
-
SvgCustomAttributeCollection
- Implements
- Inherited Members
Constructors
SvgCustomAttributeCollection(SvgElement)
Initialises a new instance of a SvgAttributeCollection with the given SvgElement as the owner.
public SvgCustomAttributeCollection(SvgElement owner)
Parameters
owner
SvgElementThe SvgElement owner of the collection.
Properties
this[string]
Gets the attribute with the specified name.
public string this[string attributeName] { get; set; }
Parameters
Property Value
- string
The attribute value associated with the specified name; If there is no attribute the parent's value will be inherited.
Events
AttributeChanged
Fired when an Atrribute has changed
public event EventHandler<AttributeEventArgs> AttributeChanged