Click or drag to resize

WpfLayerCollection Class

This class holds a collection of WpfLayerAnnotation objects, each containing the visible annotations.
Inheritance Hierarchy

Namespace:  Atalasoft.Annotate.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: (.NET 4.5.2, x86)
public class WpfLayerCollection : ICollection<WpfLayerAnnotation>, 
	IEnumerable<WpfLayerAnnotation>, IEnumerable

The WpfLayerCollection type exposes the following members.

Public methodWpfLayerCollection
Creates a new instance of WpfLayerCollection.
Public propertyCount
Gets the number of layers in the collection.
Public propertyIsReadOnly
Gets a value indicating whether this collection is read-only.
Public propertyItem
Gets the layer at the specified index.
Public methodAdd
Adds a layer to the collection.
Public methodAddRange
Adds an array of layers to the collection.
Public methodAsReadOnly
Returns a read-only collection of the layers.
Public methodClear
Removes all items from the collection.
Public methodContains
Determines whether an element is in the collection.
Public methodCopyTo
Copies the entire collection into the array, starting at the specified index of the target array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the collection index of the specified WpfLayerAnnotation.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCollectionChanged
Called when there has been a change in the collection.
Public methodRemove
Removes a layer from the collection.
Public methodRemoveAt
Removes a layer at the specified index.
Public methodToArray
Returns an array of all WpfLayerAnnotation items in the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public eventCollectionChanged
This event is raised when there has been a changed in the collection.
See Also