DropOntoBehavior

StockSharp.Xaml.Diagram.GXDiagram

Specify additional behavior when dragging and dropping the selection onto existing parts in the diagram.

Fields

AddsLinkFromNode
public const DropOntoBehavior AddsLinkFromNode
value = DropOntoBehavior.AddsLinkFromNode

If the drop occurs on a Node, new links are created from the dropped-onto node to each selected dropped node. This does not draw new links to dropped nodes that were members of dropped groups (i.e. members of selected groups). This is only effective if DropOntoEnabled is true.

AddsLinkToNode
public const DropOntoBehavior AddsLinkToNode
value = DropOntoBehavior.AddsLinkToNode

If the drop occurs on a Node, new links are created from the each selected dropped node to the dropped-onto node. This does not draw new links from dropped nodes that were members of dropped groups (i.e. members of selected groups). This is only effective if DropOntoEnabled is true.

AddsToGroup
public const DropOntoBehavior AddsToGroup
value = DropOntoBehavior.AddsToGroup

If the drop occurs on a Group, and if the group can accept having the selected nodes and links added as new members, then add them to that group. This is only effective if DropOntoEnabled is true.

None
public const DropOntoBehavior None
value = DropOntoBehavior.None

Don't do anything else besides the standard result of moving or copying the selection. This is the default value for DropOntoBehavior.