Skip to main content

DiagramToolboxRegistrator.GetStencilByShape(ShapeDescriptionBase) Method

Returns the stencil that contains the specified shape.

Namespace: DevExpress.Diagram.Core

Assembly: DevExpress.Diagram.v24.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