Skip to main content
A newer version of this page is available. .

DiagramToolboxRegistrator.GetStencil(String) Method

Returns the stencil with the specified id.

Namespace: DevExpress.Diagram.Core

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

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