Simple implementation of the IEdgePortCandidateProvider interface that returns a union of all GetSourcePortCandidates(IInputModeContext) or GetTargetPortCandidates(IInputModeContext) respectively of the entities in the graph.

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


public class AllCandidatesEdgePortCandidateProvider : IEdgePortCandidateProvider
Visual Basic
Public Class AllCandidatesEdgePortCandidateProvider _ Implements IEdgePortCandidateProvider


This implementation can be used to allow for relocating an edge's port to any available source or target port in the graph. Note that the candidates of edges will not be returned by default unless the AddEdgeCandidates property is set to trueTruetruetrue (True in Visual Basic)

Inheritance Hierarchy


See Also