VisualCollection Class

Spotfire 14.5 API Reference
A collection of Visual objects.
Inheritance Hierarchy

System.Object
  Node
    Spotfire.Dxp.Framework.DocumentModel.DocumentNode
      Spotfire.Dxp.Application.VisualCollection

Namespace:  Spotfire.Dxp.Application
Assembly:  Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 67.0.20819.4186 (67.0.20819.4186)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(2, 0)]
public sealed class VisualCollection : DocumentNode, 
	IEnumerable<Visual>, IEnumerable

The VisualCollection type exposes the following members.

Properties

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

  NameDescription
Public methodAddDuplicate
Creates a duplicate of the specified Visual and adds it to the collection.
Public methodAddNew(ModIdentifier)
Adds a new visual with a ModVisualization content as specified by the modIdentifier.
Public methodCode exampleAddNew(TypeIdentifier)
Creates a new Visual with a visual of the type identified by visualTypeId and adds it to the collection.
Public methodCode exampleAddNew<T>()
Adds a new visual of the specified type.
Public methodContains
Determines whether the visual is in the collection.
Public methodForEachNodeInSubTree<TNode>
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes the specified Visual.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetVisual
Tries to get a visual specified by its id.
Top
Explicit Interface Implementations

  NameDescription
Explicit interface implementationPrivate methodIEnumerable<Visual>.GetEnumerator
Returns an enumerator that iterates through the collection.
Explicit interface implementationPrivate methodIEnumerable.GetEnumerator
Returns an enumerator that iterates through a collection.
Explicit interface implementationPrivate methodINodeContext.GetAncestor<T> (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContext.GetService<T> (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodINodeContext.IsDescendantOf (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.BeginAggregatedTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteInvisibleTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteInvisibleTransaction2
Implements ExecuteInvisibleTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteStickyTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteStickyTransaction2
Implements ExecuteStickyTransaction(Guid, Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteTransaction (Inherited from DocumentNode.)
Explicit interface implementationPrivate methodITransactions.ExecuteTransaction2
Implements ExecuteTransaction(Executor) for the Action Mods API.
(Inherited from DocumentNode.)
Top
Version Information

Supported in: 14.5, 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference