Skip to main content

DiagramToolboxRegistrator.RegisterStencil(DiagramStencil) Method

Adds the specified stencil to the Shapes Panel.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public static void RegisterStencil(
    DiagramStencil stencil
)

Parameters

Name Type Description
stencil DiagramStencil

A DiagramStencil object that is the stencil to register.

Remarks

Use the DiagramStencil.Create method to create a new stencil.

See the examples:

See Also