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)
146
int xDelta = controlLocation.X %
_parentGridSize
.Width;
147
int yDelta = controlLocation.Y %
_parentGridSize
.Height;
149
if (xDelta >
_parentGridSize
.Width / 2)
151
offset.X =
_parentGridSize
.Width - xDelta;
158
if (yDelta >
_parentGridSize
.Height / 2)
160
offset.Y =
_parentGridSize
.Height - yDelta;
770
else if (!
_parentGridSize
.IsEmpty)