Skip to main content
A newer version of this page is available. .

DiagramToolboxRegistrator.GetStencilByShape(ShapeDescriptionBase) Method

Returns the stencil that contains the specified shape.

Namespace: DevExpress.Diagram.Core

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

Declaration

public static DiagramStencil GetStencilByShape(
    ShapeDescriptionBase shape
)

Parameters

Name Type Description
shape ShapeDescriptionBase

A ShapeDescriptionBase descendant that represents a diagram shape.

Returns

Type Description
DiagramStencil

A DiagramStencil object.

See Also