17 references to HorizontalScroll
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2769
OnScroll(scrollEventType, _horizontalOffset + change, _horizontalOffset, ScrollOrientation.
HorizontalScroll
);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16794
if (orientation == ScrollOrientation.
HorizontalScroll
)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1436
WmOnScroll(ref m, oldValue, pos, ScrollOrientation.
HorizontalScroll
);
System\Windows\Forms\Scrolling\ScrollBar.cs (1)
50
_scrollOrientation = ScrollOrientation.
HorizontalScroll
;
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarFirstPageButtonAccessibleObject.cs (1)
30
return OwningScrollBar._scrollOrientation == ScrollOrientation.
HorizontalScroll
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (1)
30
return OwningScrollBar._scrollOrientation == ScrollOrientation.
HorizontalScroll
System.Windows.Forms.Tests (11)
System\Windows\Forms\ScrollBarTests.cs (5)
2486
Assert.Equal(ScrollOrientation.
HorizontalScroll
, e.ScrollOrientation);
2576
yield return new object[] { true, 100, 200, ScrollOrientation.
HorizontalScroll
, new Size(10, 20), new Size(20, 20) };
2577
yield return new object[] { true, 200, 100, ScrollOrientation.
HorizontalScroll
, new Size(10, 20), new Size(5, 20) };
2581
yield return new object[] { false, 100, 200, ScrollOrientation.
HorizontalScroll
, new Size(10, 20), new Size(10, 20) };
2841
Assert.Equal(ScrollOrientation.
HorizontalScroll
, e.ScrollOrientation);
System\Windows\Forms\ScrollEventArgsTests.cs (6)
20
Assert.Equal(ScrollOrientation.
HorizontalScroll
, e.ScrollOrientation);
34
Assert.Equal(ScrollOrientation.
HorizontalScroll
, e.ScrollOrientation);
38
[InlineData((ScrollEventType.EndScroll + 1), -2, (ScrollOrientation.
HorizontalScroll
- 1))]
39
[InlineData(ScrollEventType.LargeIncrement, -1, ScrollOrientation.
HorizontalScroll
)]
52
[InlineData((ScrollEventType.EndScroll + 1), -2, -2, (ScrollOrientation.
HorizontalScroll
- 1))]
53
[InlineData(ScrollEventType.LargeIncrement, -1, -1, ScrollOrientation.
HorizontalScroll
)]