Table of Contents

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 SvgElement

The SvgElement owner of the collection.

Properties

this[string]

Gets the attribute with the specified name.

public string this[string attributeName] { get; set; }

Parameters

attributeName string

A string containing the attribute name.

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

Event Type

EventHandler<AttributeEventArgs>