44 references to EndScroll
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
26522
ScrollEventType scrollEventType = ScrollEventType.
EndScroll
;
28415
else if (se.Type != ScrollEventType.
EndScroll
)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1440
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)
2245
new(ScrollEventType.
EndScroll
, 9, 9),
2254
new(ScrollEventType.
EndScroll
, 9, 9),
2264
new(ScrollEventType.
EndScroll
, 8, 8),
2273
new(ScrollEventType.
EndScroll
, 0, 0),
2283
new(ScrollEventType.
EndScroll
, 0, 0),
2293
new(ScrollEventType.
EndScroll
, 98, 98),
2303
new(ScrollEventType.
EndScroll
, 9, 9),
2312
new(ScrollEventType.
EndScroll
, 9, 9),
2322
new(ScrollEventType.
EndScroll
, 8, 8),
2331
new(ScrollEventType.
EndScroll
, 0, 0),
2341
new(ScrollEventType.
EndScroll
, 0, 0),
2351
new(ScrollEventType.
EndScroll
, 98, 98),
2362
new(ScrollEventType.
EndScroll
, 11, 11),
2371
new(ScrollEventType.
EndScroll
, 11, 11),
2381
new(ScrollEventType.
EndScroll
, 12, 12),
2390
new(ScrollEventType.
EndScroll
, 91, 91),
2399
new(ScrollEventType.
EndScroll
, 91, 91),
2409
new(ScrollEventType.
EndScroll
, 91, 91),
2419
new(ScrollEventType.
EndScroll
, 11, 11),
2428
new(ScrollEventType.
EndScroll
, 11, 11),
2438
new(ScrollEventType.
EndScroll
, 12, 12),
2447
new(ScrollEventType.
EndScroll
, 91, 91),
2456
new(ScrollEventType.
EndScroll
, 91, 91),
2466
new(ScrollEventType.
EndScroll
, 91, 91),
2814
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
EndScroll
, 10, ScrollEventType.
EndScroll
};
2815
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
EndScroll
, 10, ScrollEventType.
EndScroll
};
2822
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
EndScroll
+ 1, 10, ScrollEventType.
EndScroll
+ 1 };
2823
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
EndScroll
+ 1, 10, ScrollEventType.
EndScroll
+ 1 };
System\Windows\Forms\ScrollEventArgsTests.cs (8)
12
[InlineData((ScrollEventType.
EndScroll
+ 1), -2)]
14
[InlineData(ScrollEventType.
EndScroll
, 0)]
26
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, -2)]
28
[InlineData(ScrollEventType.
EndScroll
, 0, 0)]
40
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, (ScrollOrientation.HorizontalScroll - 1))]
42
[InlineData(ScrollEventType.
EndScroll
, 0, ScrollOrientation.VerticalScroll)]
54
[InlineData((ScrollEventType.
EndScroll
+ 1), -2, -2, (ScrollOrientation.HorizontalScroll - 1))]
56
[InlineData(ScrollEventType.
EndScroll
, 0, 0, ScrollOrientation.VerticalScroll)]