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
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:
- Winforms: How to: Create Custom Shapes with Connection Points
- WPF: How to Create Custom Shapes with Custom Connection Points for DiagramDesignerControl
See Also