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