public enum DragOverSnapArea : System.Enum
public enum DragOverSnapArea : System.Enum
Member | Description |
---|---|
Diagram | Perform location snapping for the whole diagram. This is the default value for DraggingTool.DragOverSnapArea. Northwoods.GoXam.Diagram.GridSnapEnabled must also be true. |
DiagramAndNodes | Perform location snapping when the mouse is over a node that has Northwoods.GoXam.Part.DragOverSnapEnabled set to true, or if the mouse is not over such a node, perform location snapping for the whole diagram, if Northwoods.GoXam.Diagram.GridSnapEnabled is also true. |
Nodes | Perform location snapping when the mouse is over a node that has Northwoods.GoXam.Part.DragOverSnapEnabled set to true. |
None | Perform no location snapping during a drag. |
Drag snapping may happen for the whole diagram and/or for individual nodes, or not at all. Snapping behavior for the whole diagram is governed by the various "GridSnap..." properties on Northwoods.GoXam.Diagram. Snapping behavior over a particular node is governed by the various "DragOverSnap..." properties on the node.
Snap movement during a drag is implemented by DraggingTool.SnapTo.
System.Object
System.ValueType
System.Enum
Northwoods.GoXam.Tool.DragOverSnapArea