Table of Contents

Class LayerList

Namespace
PaintDotNet
Assembly
PaintDotNet.Data.dll

Basically an ArrayList, but lets the containing Document instance be notified when the list is modified so it can know that it needs to re-render itself.
This implementation also enforces that any contained layer must be of the same dimensions as the document it is contained within. If you try to add a layer that is the wrong size, an exception will be thrown.

public sealed class LayerList : LayerListBase, IList, ICollection, ICloneable, IList<Layer>, ICollection<Layer>, IEnumerable<Layer>, IEnumerable
Inheritance
LayerList
Implements
Inherited Members

Constructors

LayerList(Document)

Properties

this[int]

Methods

Add(Layer)
AddRange(IEnumerable<Layer>)
Contains(Layer?)
CopyTo(Layer[], int)
GetAt(int)
GetEnumerator()
IndexOf(Layer?)
Insert(int, Layer)
InsertRange(int, IEnumerable<Layer>)
Move(int, int)
Remove(Layer?)
SetAt(int, Layer)
SwapAt(int, int)
ToArray()