3 writes to _parentGridSize
System.Windows.Forms.Design (3)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (3)
110_parentGridSize = Size.Empty; 874_parentGridSize = Size.Empty; 886_parentGridSize = (Size)gridProp.GetValue(parentControl);
7 references to _parentGridSize
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (7)
146int xDelta = controlLocation.X % _parentGridSize.Width; 147int yDelta = controlLocation.Y % _parentGridSize.Height; 149if (xDelta > _parentGridSize.Width / 2) 151offset.X = _parentGridSize.Width - xDelta; 158if (yDelta > _parentGridSize.Height / 2) 160offset.Y = _parentGridSize.Height - yDelta; 770else if (!_parentGridSize.IsEmpty)