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

DiagramControl.RegisterRoutingStrategy(ConnectorType, DiagramRoutingStrategy) Method

Registers a custom routing strategy for the specified connector type.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll

Declaration

public void RegisterRoutingStrategy(
    ConnectorType connectorType,
    DiagramRoutingStrategy routingStrategy
)

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