12 references to VerticalScroll
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
18860
if (orientation == ScrollOrientation.
VerticalScroll
)
26394
OnScroll(scrollEventType, newScrolledOffRowCount - rowCount, newScrolledOffRowCount, ScrollOrientation.
VerticalScroll
);
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1344
WmOnScroll(ref m, oldValue, pos, ScrollOrientation.
VerticalScroll
);
System\Windows\Forms\Scrolling\ScrollBar.cs (2)
46
_scrollOrientation = ScrollOrientation.
VerticalScroll
;
487
if (_scrollOrientation == ScrollOrientation.
VerticalScroll
)
System.Windows.Forms.Tests (7)
System\Windows\Forms\ScrollBarTests.cs (3)
2578
yield return new object[] { true, 100, 200, ScrollOrientation.
VerticalScroll
, new Size(10, 20), new Size(10, 40) };
2579
yield return new object[] { true, 200, 100, ScrollOrientation.
VerticalScroll
, new Size(10, 20), new Size(10, 10) };
2582
yield return new object[] { false, 100, 100, ScrollOrientation.
VerticalScroll
, new Size(10, 20), new Size(10, 20) };
System\Windows\Forms\ScrollEventArgsTests.cs (4)
40
[InlineData(ScrollEventType.EndScroll, 0, ScrollOrientation.
VerticalScroll
)]
41
[InlineData(ScrollEventType.LargeIncrement, 1, ScrollOrientation.
VerticalScroll
)]
54
[InlineData(ScrollEventType.EndScroll, 0, 0, ScrollOrientation.
VerticalScroll
)]
55
[InlineData(ScrollEventType.LargeIncrement, 1, 2, ScrollOrientation.
VerticalScroll
)]