DiagramControl.RegisterRoutingStrategy(ConnectorType, DiagramRoutingStrategy) Method

Registers a custom routing strategy for the specified connector type.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll

Declaration

public void RegisterRoutingStrategy(
    ConnectorType connectorType,
    DiagramRoutingStrategy routingStrategy
)
Public Sub RegisterRoutingStrategy(
    connectorType As ConnectorType,
    routingStrategy As DiagramRoutingStrategy
)

Parameters

Name Type Description
connectorType ConnectorType

A connector type to which to apply the routing strategy.

routingStrategy DevExpress.Diagram.Core.Routing.DiagramRoutingStrategy

A DevExpress.Diagram.Core.Routing.DiagramRoutingStrategy descendant that defines the custom routing strategy.

Remarks

The DiagramControl.UnregisterRoutingStrategy removes the custom routing strategy applied to the specified connector type.

See Also