5 references to SnapToGrid
System.Workflow.ComponentModel (5)
AuthoringOM\Design\ActivityDesigner.cs (1)
218
value = DesignerHelpers.
SnapToGrid
(value);
AuthoringOM\Design\FreeFormDesigner.cs (1)
845
containedDesigner.Location = DesignerHelpers.
SnapToGrid
(containedDesigner.Location);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
259
location = DesignerHelpers.
SnapToGrid
(location);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (2)
288
x = DesignerHelpers.
SnapToGrid
(new Point(x, 0)).X;
300
y = DesignerHelpers.
SnapToGrid
(new Point(0, y)).Y;