DiagramControl.RegisterRoutingStrategy(ConnectorType, DiagramRoutingStrategy) Method
Registers a custom routing strategy for the specified connector type.
Namespace: DevExpress.Xpf.Diagram
Assembly: DevExpress.Xpf.Diagram.v24.1.dll
NuGet Package: DevExpress.Wpf.Diagram
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