Specify the locations in a node, to which the user is allowed to connect links.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public class AnchorPoint : ICloneable, IPersists |
Visual Basic Copy Code |
---|
Public Class AnchorPoint |
An anchor point can accept incoming or outgoing links, or both, as specified by the AllowIncoming and AllowOutgoing properties. The position of the anchor point inside a node's bounding rectangle is set through the X and Y properties, expressed as percent of the rectangle width and height.
How anchor points are marked on the display can be set using MarkStyle and Color properties. Custom painting can be done by setting MarkStyle to Custom and handling the DrawAnchorPoint event.
System.Object
MindFusion.Diagramming.AnchorPoint
NetDiagram Programmer's Guide | © 2023 MindFusion |