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.InputAssembly: yWorks.yFilesWPF.Viewer (in yWorks.yFilesWPF.Viewer.dll) Version: 2.2.0.2 (2.2.0.2)
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
yWorks.yFiles.UI.Input..::..PortRelocationHandleProvider