Represents a collection of layers.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.Visuals.LayersLayerCollection
Namespace: Spotfire.Dxp.Application.Visuals.Layers
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 69.0.21424.2902 (69.0.21424.2902)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(68, 0)] public sealed class LayerCollection : DocumentNode, IReadOnlyList<Layer>, IReadOnlyCollection<Layer>, IEnumerable<Layer>, IEnumerable
The LayerCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Count |
Gets the number of elements in the collection.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| Item |
Gets the Layer at the specified index.
| |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| AddDuplicate |
Adds a new Layer to the collection that is a duplicate of the specified layer.
| |
| AddNewGroup |
Adds a new LayerGroup to the collection.
| |
| AddNewReferenceLayer |
Adds a new ReferenceLayer to the collection.
| |
| ForEachNodeInSubTreeTNode |
Applies the specified action to all nodes of the specified type in the subtree spanned
from this node, including this node.
(Inherited from DocumentNode.) | |
| GetEnumerator |
Gets the enumerator for the collection.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Move |
Moves the specified layer within this collection.
| |
| Remove |
Removes the specified layer from this collection.
| |
| RemoveAt |
Removes the layer at the specified index.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Remarks
Version Information
Supported in: 14.7, 14.6
See Also