Skip to main content

FactoryConnectorTool(String, Func<String>, Func<IDiagramControl, IDiagramConnector>) Constructor

Initializes a new instance of the FactoryConnectorTool class.

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public FactoryConnectorTool(
    string id,
    Func<string> getName,
    Func<IDiagramControl, IDiagramConnector> createItem
)

Parameters

Name Type Description
id String

A System.String value that is the tool’s identifier.

getName Func<String>

A function that returns the name of the tool.

createItem Func<DevExpress.Diagram.Core.IDiagramControl, DevExpress.Diagram.Core.IDiagramConnector>

A function that creates the connector.

See Also