DragOverSnapArea
StockSharp.Xaml.Diagram.GXDiagram.Tool
This enumeration controls where the DraggingTool might snap the selection location during dragging.
Fields
Diagram
public const DragOverSnapArea Diagram
value = DragOverSnapArea.Diagram
Perform location snapping for the whole diagram. This is the default value for DragOverSnapArea. GridSnapEnabled must also be true.
DiagramAndNodes
public const DragOverSnapArea DiagramAndNodes
value = DragOverSnapArea.DiagramAndNodes
Perform location snapping when the mouse is over a node that has DragOverSnapEnabled set to true, or if the mouse is not over such a node, perform location snapping for the whole diagram, if GridSnapEnabled is also true.
Nodes
public const DragOverSnapArea Nodes
value = DragOverSnapArea.Nodes
Perform location snapping when the mouse is over a node that has DragOverSnapEnabled set to true.
None
public const DragOverSnapArea None
value = DragOverSnapArea.None
Perform no location snapping during a drag.