NShape Reference
CreateChildrenCollection Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape > Shape Class >

NShape Reference
CreateChildrenCollection Method

Previous pageReturn to chapter overviewNext page

Creates the collection that stores and manages the shape's child shapes.

Override for using custom children collection implementations in your shapes.

Syntax

protected virtual ShapeAggregation CreateChildrenCollection(int capacity) {
 return new CompositeShapeAggregation(this, capacity);
}

Parameters

Name

Description

capacity

Specifies the initial capacity of the collection.