Class SvgElementCollection
Inheritance
SvgElementCollection
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
public sealed class SvgElementCollection : IList<SvgElement>, ICollection<SvgElement>, IEnumerable<SvgElement>, IEnumerable
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public SvgElement this[int index] { get; set; }
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(SvgElement)
Declaration
public void Add(SvgElement item)
Parameters
|
Improve this Doc
View Source
AddAndForceUniqueID(SvgElement, Boolean, Boolean, Action<SvgElement, String, String>)
Declaration
public void AddAndForceUniqueID(SvgElement item, bool autoForceUniqueID = true, bool autoFixChildrenID = true, Action<SvgElement, string, string> logElementOldIDNewID = null)
Parameters
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
Contains(SvgElement)
Declaration
public bool Contains(SvgElement item)
Parameters
Returns
|
Improve this Doc
View Source
CopyTo(SvgElement[], Int32)
Declaration
public void CopyTo(SvgElement[] array, int arrayIndex)
Parameters
|
Improve this Doc
View Source
FindSvgElementOf<T>()
expensive recursive search for first node of type T
Declaration
public T FindSvgElementOf<T>()
where T : SvgElement
Returns
Type Parameters
|
Improve this Doc
View Source
FindSvgElementsOf<T>()
expensive recursive search for nodes of type T
Declaration
public IEnumerable<T> FindSvgElementsOf<T>()
where T : SvgElement
Returns
Type Parameters
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public IEnumerator<SvgElement> GetEnumerator()
Returns
|
Improve this Doc
View Source
GetSvgElementOf<T>()
Declaration
public T GetSvgElementOf<T>()
where T : SvgElement
Returns
Type Parameters
|
Improve this Doc
View Source
IndexOf(SvgElement)
Returns the index of the specified SvgElement in the collection.
Declaration
public int IndexOf(SvgElement item)
Parameters
Returns
| Type |
Description |
| Int32 |
The index of the element if it is present; otherwise -1.
|
|
Improve this Doc
View Source
Insert(Int32, SvgElement)
Inserts the given SvgElement to the collection at the specified index.
Declaration
public void Insert(int index, SvgElement item)
Parameters
|
Improve this Doc
View Source
InsertAndForceUniqueID(Int32, SvgElement, Boolean, Boolean, Action<SvgElement, String, String>)
Declaration
public void InsertAndForceUniqueID(int index, SvgElement item, bool autoForceUniqueID = true, bool autoFixChildrenID = true, Action<SvgElement, string, string> logElementOldIDNewID = null)
Parameters
|
Improve this Doc
View Source
Remove(SvgElement)
Declaration
public bool Remove(SvgElement item)
Parameters
Returns
|
Improve this Doc
View Source
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
| Type |
Name |
Description |
| Int32 |
index |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
| Type |
Description |
| System.Collections.IEnumerator |
|
Implements
System.Collections.IEnumerable
Extension Methods