A collection of Visual objects.
            
            Inheritance Hierarchy
              Spotfire.Dxp.Framework.DocumentModelNode
Spotfire.Dxp.Framework.DocumentModelDocumentNode
Spotfire.Dxp.ApplicationVisualCollection
Namespace: Spotfire.Dxp.Application
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(2, 0)] public sealed class VisualCollection : DocumentNode, IEnumerable<Visual>, IEnumerable
The VisualCollection type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|  | AddDuplicate | Creates a duplicate of the specified Visual and adds it to the collection.
             | 
|   | AddNew(TypeIdentifier) | Creates a new Visual with a visual of the type identified by visualTypeId 
            and adds it to the collection.
             | 
|   | AddNewT | Adds a new visual of the specified type.
             | 
|   | AddNewT(TypeIdentifier) | Obsolete. Do not use. This method is deprecated in favor of
            AddNew(TypeIdentifier) and will be removed in a future release.
             | 
|  | Contains | Determines whether the visual is in the collection.
             | 
|  | GetType | Gets the Type of the current instance.(Inherited from Object.) | 
|  | Remove | Removes the specified Visual.
             | 
|  | TryGetVisual | Tries to get a visual specified by its id.
             | 
Properties
| Name | Description | |
|---|---|---|
|  | Context | 
            Gets the context of this node.
            (Inherited from DocumentNode.) | 
|  | Count | Gets the number of Visuals in this collection.
             | 
|  | IsAttached | 
            Gets a value indicating whether this node is attached.
            (Inherited from DocumentNode.) | 
|  | Transactions | 
            Gets a collection of methods for executing transactions on the document.
            (Inherited from DocumentNode.) | 
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|   | IServiceProviderGetService | 
            Implements IServiceProvider.
            (Inherited from Node.) | 
|   | INodeContextGetAncestorT | 
            Implements GetAncestorT.
            (Inherited from DocumentNode.) | 
|   | INodeContextGetServiceT | 
            Implements GetServiceT.
            (Inherited from DocumentNode.) | 
|   | INodeContextIsDescendantOf | 
            Implements IsDescendantOf(DocumentNode).
            (Inherited from DocumentNode.) | 
|   | ITransactionsBeginAggregatedTransaction | 
            Implements BeginAggregatedTransaction.
            (Inherited from DocumentNode.) | 
|   | ITransactionsExecuteInvisibleTransaction | 
            Implements ExecuteInvisibleTransaction(Executor).
            (Inherited from DocumentNode.) | 
|   | ITransactionsExecuteStickyTransaction | 
            Implements ExecuteStickyTransaction(Guid, Executor).
            (Inherited from DocumentNode.) | 
|   | ITransactionsExecuteTransaction | 
            Implements ExecuteTransaction(Executor).
            (Inherited from DocumentNode.) | 
Version Information
See Also