3 references to SnapVisualToGrid
System.Activities.Core.Presentation (3)
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (3)
494Point startLocation = SnapVisualToGrid(this.initialNode, startPoint, new Point(-1, -1), false);
1977shapeLocation = StateContainerEditor.SnapVisualToGrid(view, e.GetPosition(this.panel), anchorPoint, isAnchorPointValid);
2261newLocation = SnapVisualToGrid(movedElement, newPoint, shapeAnchorPoint.Value, true);