API Reference

Detailed and full API reference helps you master Tekla development

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

ContainerElement Class

The ContainerElement class defines container elements. A container element is a mark element that has a frame and contains other mark elements. A container element may also contain container elements to achieve nested frames.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2021.0.0
public sealed class ContainerElement : ElementBase, 
	ICollection, IEnumerable

The ContainerElement type exposes the following members.

  Name Description
Public method ContainerElement
Initializes a new instance of the ContainerElement class
  Name Description
Public property Count
Gets the number of elements contained in the ICollection.
Public property Frame
The frame of the container element.
Public property IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
Public property SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
  Name Description
Public method Add
Adds a new element base to the end of the list.
Public method Clear
Removes all elements from the container instance.
Public method Clone
Clones the object.
(Overrides ElementBaseClone.)
Public method CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public method GetEnumerator
Returns an enumerator that iterates through a collection.
Public method GetUnformattedString
Returns the content as a string without formatting.
(Overrides ElementBaseGetUnformattedString.)
Public method IsEqual
Compares the current object with an object of the same type.
(Overrides ElementBaseIsEqual(Object).)
See Also