Skip to main content

DiagramToolboxRegistrator.GetStencil(String) Method

Returns the stencil with the specified id.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public static DiagramStencil GetStencil(
    string stencilId
)

Parameters

Name Type Description
stencilId String

A string value that is the stencil’s id.

Returns

Type Description
DiagramStencil

A DiagramStencil object.

Remarks

The DiagramToolboxRegistrator.Stencils property returns the list of available stencils. The DiagramStencil.Id property specifies the stencil’s id.

See Also