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

ConnectorType.Create(String, Func<String>) Method

Creates an instance of the ConnectorType class with the specified parameters.

Namespace: DevExpress.Diagram.Core

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

NuGet Packages: DevExpress.Diagram.Core, DevExpress.WindowsDesktop.Diagram.Core

Declaration

public static ConnectorType Create(
    string id,
    Func<string> getTypeName
)

Parameters

Name Type Description
id String

A string value that is the connector type id.

getTypeName Func<String>

A delegate function that returns the connector type name.

Returns

Type Description
ConnectorType

A ConnectorType instance.

See Also