9 references to MinDragSize
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (2)
180
if (delta.Width >= DesignerUtils.
MinDragSize
.Width / 2 || delta.Height >= DesignerUtils.
MinDragSize
.Height / 2)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (2)
492
if (Math.Abs(_initialPoint.X - mouseLoc.X) > DesignerUtils.
MinDragSize
.Width / 2 || Math.Abs(_initialPoint.Y - mouseLoc.Y) > DesignerUtils.
MinDragSize
.Height / 2)
System\Windows\Forms\Design\ParentControlDesigner.cs (2)
1861
Size minControlSize = new(DesignerUtils.
MinDragSize
.Width * 2, DesignerUtils.
MinDragSize
.Height * 2);
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\DesignerUtilsTests.cs (3)
69
Size minDragSize = DesignerUtils.
MinDragSize
;
76
Size firstCall = DesignerUtils.
MinDragSize
;
77
Size secondCall = DesignerUtils.
MinDragSize
;