ASP.NET Pack Programmer's Guide
ContainerNode Members
Constructors Methods
 


ContainerNode instances are diagram nodes that can contain other nodes.

The following tables list the members exposed by the ContainerNode type.

 Public Constructors

  Name Description

ContainerNode

Initializes a new instance of the ContainerNode class with default values supplied from the specified Diagram.

 Public Methods

  Name Description

add

Adds a node to this container.

arrange

Arranges the container's children with the given layout.

arrangeAnimated

Arranges the container's children with the given layout, and animates items moving to their new positions.

containsPoint

Checks if the ContainerNode contains the specified point.

containsRecursively

Determines whether the specified node is contained within this container, either directly or inside child containers.

getAllowAddChildren

Gets a value indicating whether users are allowed to add child nodes to the container.

getAllowRemoveChildren

Gets a value indicating whether users are allowed to remove child nodes from the container.

getCaptionBackBrush

Gets the object that specifies how to fill the caption bar.

getCaptionHeight

Gets the height of the container's caption area.

getChildren

Gets the child nodes of this container.

getClipChildren

Gets a value indicating whether child items should be clipped by container boundaries.

getContentPath

Creates a path corresponding to the content area rectangle, excluding caption bar.

getEnableStyledText

Gets a value indicating whether styled caption text rendering is enabled.

getFoldable

Gets a value indicating whether users are allowed to fold the container.

getFolded

Gets a value indicating whether the container is folded.

getFoldIconSize

Gets a value indicating the size of the fold/unfold icon.

getOutline

Gets an array of points that define the outline of this node shape.

getShape

Gets the shape of the container's outline.

getUnfoldedSize

Gets the size of the container in unfolded state.

hitTest

Returns the diagram item that contains the specified point.

init

Returns a Builder object used to configure this ContainerNode instance.

loadFromXml

DiagramNode.LoadFromXml override. Loads the node's content from an XML element.

onRemove

DiagramItem.onRemove override.

remove

Removes a node from this container.

resizeToFitChildren

Resizes the container making it big enough to contain its child nodes.

resizeToFitText

Makes the container node caption big enough to display its text without clipping.

saveToXml

Saves the node's content into an XML element.

setAllowAddChildren

Sets a value indicating whether users are allowed to add child nodes to the container.

setAllowRemoveChildren

Sets a value indicating whether users are allowed to remove child nodes from the container.

setCaptionBackBrush

Sets an object that specifies how to fill the caption bar.

setCaptionHeight

Sets the height of the container's caption area.

setClipChildren

Sets a value indicating whether child items should be clipped by container boundaries.

setEnableStyledText

Sets a value indicating whether styled caption text rendering is enabled.

setFoldable

Sets a value indicating whether users are allowed to fold the container.

setFolded

Folds or unfolds the container.

setFoldIconSize

Sets a value indicating the size of the fold/unfold icon.

setShape

Sets the shape of the container's outline.

visitNodes

Visits the diagram nodes in reverse Z order.

With

Returns a Builder object used to configure and create new ContainerNode instances.

 See Also

ContainerNode Class
MindFusion.Diagramming Namespace