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