44 references to EndScroll
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
26503
ScrollEventType scrollEventType = ScrollEventType.
EndScroll
;
28397
else if (se.Type != ScrollEventType.
EndScroll
)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1446
if (type != ScrollEventType.
EndScroll
)
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
559
DoScroll(ScrollEventType.
EndScroll
);
System.Windows.Forms.Tests (40)
System\Windows\Forms\ScrollBarTests.cs (32)
2243
new(ScrollEventType.
EndScroll
, 9, 9),
2252
new(ScrollEventType.
EndScroll
, 9, 9),
2262
new(ScrollEventType.
EndScroll
, 8, 8),
2271
new(ScrollEventType.
EndScroll
, 0, 0),
2281
new(ScrollEventType.
EndScroll
, 0, 0),
2291
new(ScrollEventType.
EndScroll
, 98, 98),
2301
new(ScrollEventType.
EndScroll
, 9, 9),
2310
new(ScrollEventType.
EndScroll
, 9, 9),
2320
new(ScrollEventType.
EndScroll
, 8, 8),
2329
new(ScrollEventType.
EndScroll
, 0, 0),
2339
new(ScrollEventType.
EndScroll
, 0, 0),
2349
new(ScrollEventType.
EndScroll
, 98, 98),
2360
new(ScrollEventType.
EndScroll
, 11, 11),
2369
new(ScrollEventType.
EndScroll
, 11, 11),
2379
new(ScrollEventType.
EndScroll
, 12, 12),
2388
new(ScrollEventType.
EndScroll
, 91, 91),
2397
new(ScrollEventType.
EndScroll
, 91, 91),
2407
new(ScrollEventType.
EndScroll
, 91, 91),
2417
new(ScrollEventType.
EndScroll
, 11, 11),
2426
new(ScrollEventType.
EndScroll
, 11, 11),
2436
new(ScrollEventType.
EndScroll
, 12, 12),
2445
new(ScrollEventType.
EndScroll
, 91, 91),
2454
new(ScrollEventType.
EndScroll
, 91, 91),
2464
new(ScrollEventType.
EndScroll
, 91, 91),
2812
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
EndScroll
, 10, ScrollEventType.
EndScroll
};
2813
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
EndScroll
, 10, ScrollEventType.
EndScroll
};
2820
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
EndScroll
+ 1, 10, ScrollEventType.
EndScroll
+ 1 };
2821
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
EndScroll
+ 1, 10, ScrollEventType.
EndScroll
+ 1 };
System\Windows\Forms\ScrollEventArgsTests.cs (8)
10
[InlineData((ScrollEventType.
EndScroll
+ 1), -2)]
12
[InlineData(ScrollEventType.
EndScroll
, 0)]
24
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, -2)]
26
[InlineData(ScrollEventType.
EndScroll
, 0, 0)]
38
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, (ScrollOrientation.HorizontalScroll - 1))]
40
[InlineData(ScrollEventType.
EndScroll
, 0, ScrollOrientation.VerticalScroll)]
52
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, -2, (ScrollOrientation.HorizontalScroll - 1))]
54
[InlineData(ScrollEventType.
EndScroll
, 0, 0, ScrollOrientation.VerticalScroll)]