DiagramToolboxRegistrator.RegisterStencil(DiagramStencil) Method

Adds the specified stencil to the Shapes Panel.

Namespace: DevExpress.Diagram.Core

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

Declaration

public static void RegisterStencil(
    DiagramStencil stencil
)
Public Shared Sub RegisterStencil(
    stencil As DiagramStencil
)

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