Simple implementation of a IHandleProvider that can be used for IEdges. It will return the IHandles for the source and target ports using PortRelocationHandles.

Namespace: yWorks.yFiles.UI.Input
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
public class PortRelocationHandleProvider : IHandleProvider, IEdgePortHandleProvider
Visual Basic
Public Class PortRelocationHandleProvider _ Implements IHandleProvider, IEdgePortHandleProvider

Remarks

Note that this implementation also explicitly implements the IEdgePortHandleProvider and that it is recommended to decorate the IEdgePortHandleProvider interface with edges in order to influence the handles of the source and target port of the edge instead of directly decorating and implementing the IHandleProvider interface. The default implementation of the IHandleProvider interface in the lookup of the IEdges (see DefaultEdgeLookup) will use the IEdgePortCandidateProvider interface to collect the source and target port handles.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.Input..::..PortRelocationHandleProvider

See Also