Attaches a node to the specified corner of the main node.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool AttachToCorner ( |
Visual Basic Copy Code |
---|
Public Function AttachToCorner( _ |
The zero-based index of the main node's corner.
false if the node could not be attached; otherwise, true.
You can use this method if the main item of the group is a node. When the specified corner position of the main node's bounding rectangle is changed, the position of the attached node is also changed and the distance between them is preserved.
WpfDiagram Programmer's Guide | © 2024 MindFusion |