LayerCollection Class

Spotfire 14.7 API Reference
Represents a collection of layers.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public propertyContext
Gets the context of this node.
(Inherited from DocumentNode.)
Public propertyCount
Gets the number of elements in the collection.
Public propertyIsAttached
Gets a value indicating whether this node is attached.
(Inherited from DocumentNode.)
Public propertyItem
Gets the Layer at the specified index.
Public propertyTransactions
Gets a collection of methods for executing transactions on the document.
(Inherited from DocumentNode.)
Top
Methods

  NameDescription
Public methodAddDuplicate
Adds a new Layer to the collection that is a duplicate of the specified layer.
Public methodAddNewGroup
Adds a new LayerGroup to the collection.
Public methodAddNewReferenceLayer
Adds a new ReferenceLayer to the collection.
Public methodForEachNodeInSubTreeTNode
Applies the specified action to all nodes of the specified type in the subtree spanned from this node, including this node.
(Inherited from DocumentNode.)
Public methodGetEnumerator
Gets the enumerator for the collection.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMove
Moves the specified layer within this collection.
Public methodRemove
Removes the specified layer from this collection.
Public methodRemoveAt
Removes the layer at the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Gets the enumerator for the collection.
Explicit interface implementationPrivate methodINodeContextGetAncestorT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextGetServiceT (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContextIsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsBeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactionsExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Remarks

This class provides functionality to manage a collection of Layer objects.
Version Information

Supported in: 14.7, 14.6
See Also

Reference