13 references to GridSize
System.Workflow.ComponentModel (13)
AuthoringOM\Design\DesignerHelpers.cs (12)
332
gridStart.X = viewableRectangle.X - (viewableRectangle.X % ambientTheme.
GridSize
.Width);
333
gridStart.Y = viewableRectangle.Y - (viewableRectangle.Y % ambientTheme.
GridSize
.Height);
335
for (int gridCoOrdX = gridStart.X; gridCoOrdX <= viewableRectangle.Right; gridCoOrdX += Math.Max(ambientTheme.
GridSize
.Width, 1))
337
for (int gridCoOrdY = gridStart.Y; gridCoOrdY <= viewableRectangle.Bottom; gridCoOrdY += Math.Max(ambientTheme.
GridSize
.Height, 1))
341
if (((gridCoOrdX + ambientTheme.
GridSize
.Width / 2) >= viewableRectangle.Left && (gridCoOrdX + ambientTheme.
GridSize
.Width / 2) <= viewableRectangle.Right) &&
342
((gridCoOrdY + ambientTheme.
GridSize
.Height / 2) >= viewableRectangle.Top && (gridCoOrdY + ambientTheme.
GridSize
.Height / 2) <= viewableRectangle.Bottom))
343
graphics.FillRectangle(ambientTheme.MinorGridBrush, new Rectangle(new Point(gridCoOrdX + ambientTheme.
GridSize
.Width / 2, gridCoOrdY + ambientTheme.
GridSize
.Height / 2), new Size(1, 1)));
354
hdc.DrawGrid(majorGridPen, minorGridPen, viewableRectangle, ambientTheme.
GridSize
, true);
1188
Size snapSize = WorkflowTheme.CurrentTheme.AmbientTheme.
GridSize
;
AuthoringOM\Design\FreeFormDesigner.cs (1)
175
Size gridSize = WorkflowTheme.CurrentTheme.AmbientTheme.
GridSize
;