Skip to main content

DiagramStencil.RegisterTool(ItemTool) Method

Adds the specified item tool to the stencil.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public void RegisterTool(
    ItemTool tool
)

Parameters

Name Type Description
tool DevExpress.Diagram.Core.ItemTool

A DevExpress.Diagram.Core.ItemTool descendant.

Remarks

The RegisterTool method is used to register custom diagram items in the Shapes Panel. To register regular shapes, use the DiagramStencil.RegisterShape method.

See Also