A simple implementation of the IPortLocationModel that uses simple PointD and IPoint implementations to anchor ports in the world coordinate system.

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

Syntax

C#
[SingletonSerializationAttribute] public sealed class AnchoredPortLocationModel : IPortLocationModel, ILookup
Visual Basic
<SingletonSerializationAttribute> _ Public NotInheritable Class AnchoredPortLocationModel _ Implements IPortLocationModel, ILookup

Remarks

This implementation can be used for ports at all kinds of IPortOwner implementations because it does not depend on the owner of the port at all.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.UI.PortLocationModels..::..AnchoredPortLocationModel

See Also