A collection of ModLayers in a ModVisualization.
Inheritance Hierarchy
Node
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.Application.ModsModLayerCollection
Namespace: Spotfire.Dxp.Application.Mods
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(70, 0)] public sealed class ModLayerCollection : DocumentNode, IEnumerable<ModLayer>, IEnumerable
The ModLayerCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| Context |
Gets the context of this node.
(Inherited from DocumentNode.) | |
| Count |
Gets the number of layers.
| |
| IsAttached |
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.) | |
| Item |
Gets the ModLayer at the specified index.
| |
| Transactions |
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.) |
Methods
| Name | Description | |
|---|---|---|
| AddLayer |
Adds a layer of the specified type layerType to the visualization.
| |
| Clear |
Removes all layers.
| |
| 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.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Move(Int32, Int32) |
Move the layer from index fromIndex to index toIndex.
| |
| Move(ModLayer, Int32) |
Move the specified layer to index toIndex.
| |
| Remove |
Removes the specified layer.
| |
| RemoveAll |
Removes all the layers that match the specified predicate.
| |
| RemoveAt |
Removes the layer at the specified index.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetLayer |
Tries to get the layer with the specified id.
|
Explicit Interface Implementations
Version Information
Supported in: 15.0, 14.8
See Also