1 write to _snapPointY
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
1127
_snapPointY
= (Math.Abs(smallestDistanceHorz) <= SnapDistance) ? -smallestDistanceHorz : INVALID_VALUE;
7 references to _snapPointY
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (7)
944
line = new Line(snapLine.Offset, Math.Min(dragBounds.Top + (
_snapPointY
!= INVALID_VALUE ?
_snapPointY
: 0), bounds.Top),
945
snapLine.Offset, Math.Max(dragBounds.Bottom + (
_snapPointY
!= INVALID_VALUE ?
_snapPointY
: 0), bounds.Bottom))
1137
if (
_snapPointY
!= INVALID_VALUE)
1143
Point snapPoint = new(_snapPointX != INVALID_VALUE ? _snapPointX : 0,
_snapPointY
!= INVALID_VALUE ?
_snapPointY
: 0);