A simple implementation of an IHandleProvider that returns all handles in the lookup of the ports owned by the given owner.

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

Syntax

C#
public class PortsHandleProvider : IHandleProvider
Visual Basic
Public Class PortsHandleProvider _ Implements IHandleProvider

Remarks

Using this class to display port handles will result in exceptions if the underlying port instances are removed from the graph while the handles are displayed. This can happen, for example, through Undo or if ports are removed programmatically with Remove(IPort). In that case, you need to query the handles again before interacting with the graph, for example by temporarily unselecting and reselecting the port-owning nodes.

Inheritance Hierarchy

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

See Also