1 write to _snapPointX
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
1126
_snapPointX
= (Math.Abs(smallestDistanceVert) <= SnapDistance) ? -smallestDistanceVert : INVALID_VALUE;
7 references to _snapPointX
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (7)
954
line = new Line(Math.Min(dragBounds.Left + (
_snapPointX
!= INVALID_VALUE ?
_snapPointX
: 0), bounds.Left), snapLine.Offset,
955
Math.Max(dragBounds.Right + (
_snapPointX
!= INVALID_VALUE ?
_snapPointX
: 0), bounds.Right), snapLine.Offset)
1131
if (
_snapPointX
!= INVALID_VALUE)
1143
Point snapPoint = new(
_snapPointX
!= INVALID_VALUE ?
_snapPointX
: 0, _snapPointY != INVALID_VALUE ? _snapPointY : 0);