8 references to ShouldSnap
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (1)
293
if (SnapLine.
ShouldSnap
(snapLine, targetSnapLine))
System.Windows.Forms.Design.Tests (7)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (7)
125
Assert.False(SnapLine.
ShouldSnap
(snapLine1, snapLine2));
134
Assert.True(SnapLine.
ShouldSnap
(snapLine1, snapLine2));
143
Assert.False(SnapLine.
ShouldSnap
(snapLine1, snapLine2));
179
Assert.Equal(expected, SnapLine.
ShouldSnap
(snapLine1, snapLine2));
209
Assert.Equal(expected, SnapLine.
ShouldSnap
(snapLine1, snapLine2));
218
Assert.True(SnapLine.
ShouldSnap
(snapLine1, snapLine2));
227
Assert.False(SnapLine.
ShouldSnap
(snapLine1, snapLine2));