Skip to main content

ConnectorType.Create(String, Func<String>, Func<ConnectorProxy, ConnectorPointType, Point>) Method

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

Namespace: DevExpress.Diagram.Core

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

NuGet Package: DevExpress.Diagram.Core

Declaration

public static ConnectorType Create(
    string id,
    Func<string> getTypeName,
    Func<ConnectorProxy, ConnectorPointType, Point> actualPoint
)

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.

actualPoint Func<DevExpress.Diagram.Core.Native.ConnectorProxy, ConnectorPointType, Point>

A delegate function that returns the actual begin and end points when the connector is attached to an item.

Returns

Type Description
ConnectorType

A ConnectorType instance.

See Also