Gets or sets the rectangle that defines the position of the diagram node.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
SyntaxC#
Copy Code
|
|---|
public Rect Bounds { get; set; } |
Visual Basic
Copy Code
|
|---|
Public Property Bounds As Rect |
A Microsoft.Maui.Graphics.Rect instance.
RemarksUse this property to set or get the size and/or location of a node. Moving a node also updates the control points coordinates of all links connected to the node. If there are subordinate items attached to it, they are moved too by the translation vector defined by the Bounds change. To change the bounding rectangle of a node without affecting related items, call the SetBounds method.
See Also