MindFusion.Wpf Pack Programmer's Guide
DiagramNode.AnchorPattern Property
See Also
 





Gets or sets the anchor points to which links are attached when connected to the node.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public AnchorPattern AnchorPattern { get; set; }

Visual Basic  Copy Code

Public Property AnchorPattern As AnchorPattern

 Property Value

An instance of the AnchorPattern class.

 Remarks

This property specifies a set of points to which links can be attached. Each anchor point can accept either incoming links, outgoing links or both. If a node does not have any anchor points defined, links can be connected to any part of the node.

A ShapeNode whose AnchorPattern is not explicitly set uses the AnchorPattern from the Shape definition.

 See Also

DiagramNode Members
DiagramNode Class
MindFusion.Diagramming.Wpf Namespace
Diagram.SnapToAnchor Property