Skip to main content

DiagramToolboxRegistrator.GetStencilByShape(ShapeDescriptionBase) Method

Returns the stencil that contains the specified shape.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v24.1.Core.dll

NuGet Package: DevExpress.Diagram.Core

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