ContainerProperties Object (Visio)

Represents the set of properties that are specific to a container.

Version Added: Visio 2010

A container is a shape that has some specific properties that are represented conceptually by a ContainerProperties object. Containers appear as collections of shapes surrounded by borders that are sometimes, but not always, visible. Some, but not all, containers are lists.

You can use the Shape.ContainerProperties property to get a ContainerProperties object that represents the set of container properties of any shape, whether or not it is actually a container.

To create an instance of a container shape on the drawing page, use the Page.DropContainer method.