Defines the rules for pasting nodes into group nodes.

Namespace: yWorks.yFiles.UI.Model
Assembly: yWorks.yFilesSilverlight.Viewer (in yWorks.yFilesSilverlight.Viewer.dll) Version: 2.4.0.0

Syntax

C#
[FlagsAttribute] public enum ParentNodeDetectionMode
Visual Basic
<FlagsAttribute> _ Public Enumeration ParentNodeDetectionMode

Members

Member nameValueDescription
Root0 Nodes should always be pasted into the root group.
Selection1 If exactly one group node is selected the nodes should be pasted into that group.
PreviousParent2 A node should be pasted into its original parent.
AtLocation4 A node should be pasted into the group node at the location where the node is pasted to or the root if there is no group node.
AllowSelf256 When used in combination with Selection or AtLocation this setting will allow pasting nodes into their original.
Force512 If combined with PreviousParent forces the node to be pasted into its original parent, even if the parent has moved far away and pasting the node would increase the parents size considerably.
ModeMask255 A bitmask that can be used to query the actual mode (Root, Selection, AtLocation, or PreviousParent).
ModifierMask65280 A bitmask that can be used to query modifications of the actual mode such as AllowSelf or Force.

Remarks

The enumeration can be used to create bitwise combination of the types.

See Also