DiagramLite Programmer's Guide
NodeConstraints.KeepInsideParent Property
See Also
 





Gets or sets a value indicating whether a node should always stay in the boundaries of its container.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool KeepInsideParent { get; set; }

Visual Basic  Copy Code

Public Property KeepInsideParent As Boolean

 Property Value

true if users should be prevented from moving the node out of its container; otherwise, false. The default is false.

 Remarks

This property lets you restrict nodes placed inside a ContainerNode to prevent users from moving a child node out of the bounds of their parent.

 See Also

NodeConstraints Members
NodeConstraints Class
MindFusion.Diagramming Namespace
Container Property