Attaches this node to a point or a segment of the specified link.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public void AttachTo ( |
Visual Basic Copy Code |
---|
Public Sub AttachTo( _ |
This method attaches the node to a control point or segment of the specified link. If there isn't a Group instance already associated with the master item, one is created automatically by this method. The group is then accessible by the master's SubordinateGroup property, or this node's MasterGroup property.
The node is attached by calling the AttachToLinkPoint or AttachToLinkSegment methods of Group, depending on the value of the attType argument. The attached node then maintains its original offset from a link's point or segment when link's shape changes.
WpfDiagram Programmer's Guide | © 2024 MindFusion |