Skip to main content

DiagramStencil.Shapes Property

Gets the collection of shapes associated with the stencil.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v23.2.Core.dll

NuGet Package: DevExpress.Diagram.Core

Declaration

public IEnumerable<ShapeDescription> Shapes { get; }

Property Value

Type Description
IEnumerable<ShapeDescription>

A collection of objects implementing the DevExpress.Diagram.Core.IDiagramShape interface.

Remarks

To edit the Shapes collection, use the DiagramStencil.RegisterShape and DiagramStencil.UnregisterShape methods.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Shapes property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also