Gets a LookupDecorator<(Of <(<'TDecoratedType, TInterface>)>)> that decorates the IEdgePortCandidateProvider type for the IEdges of the graph this instance has been created for.

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

Syntax

C#
[NotNullAttribute] public LookupDecorator<IEdge, IEdgePortCandidateProvider> EdgePortCandidateProviderDecorator { get; }
Visual Basic
<NotNullAttribute> _ Public ReadOnly Property EdgePortCandidateProviderDecorator As LookupDecorator(Of IEdge, IEdgePortCandidateProvider) Get

Field Value

A decorator that can be used to modify the queries for IEdgePortCandidateProvider instances on IEdges.

Remarks

Custom IEdgePortCandidateProvider implementations can be used to change the set of possible IPortCandidates that are available for an existing edge in the IGraph if the user interactively tries to change the ports of an IEdge in a GraphControl. This interface is mainly used by the PortRelocationHandle. This is a convenient alternative to the direct usage of the ILookupDecorator that is provided by the IGraph's Lookup(Type).

See Also