1 write to Offset
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\ToolboxSnapDragDropEventArgs.cs (1)
25
Offset
= offset;
7 references to Offset
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\DesignerUtils.cs (7)
569
if (e.
Offset
!= Point.Empty)
574
newBounds.Y += e.
Offset
.Y; // snap to top - so move up our bounds
578
newBounds.Y = originalBounds.Y - originalBounds.Height + e.
Offset
.Y;
586
newBounds.X += e.
Offset
.X; // snap to left-
590
newBounds.X = originalBounds.X - originalBounds.Width + e.
Offset
.X;
599
newBounds.X = originalBounds.X - originalBounds.Width - e.
Offset
.X;
604
newBounds.X -= e.
Offset
.X;