17 references to HorizontalScroll
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2769OnScroll(scrollEventType, _horizontalOffset + change, _horizontalOffset, ScrollOrientation.HorizontalScroll);
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16775if (orientation == ScrollOrientation.HorizontalScroll)
System\Windows\Forms\Scrolling\ScrollableControl.cs (1)
1436WmOnScroll(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)
30return OwningScrollBar._scrollOrientation == ScrollOrientation.HorizontalScroll
System\Windows\Forms\Scrolling\ScrollBar.ScrollBarLastPageButtonAccessibleObject.cs (1)
30return OwningScrollBar._scrollOrientation == ScrollOrientation.HorizontalScroll
System.Windows.Forms.Tests (11)
System\Windows\Forms\ScrollBarTests.cs (5)
2486Assert.Equal(ScrollOrientation.HorizontalScroll, e.ScrollOrientation); 2576yield return new object[] { true, 100, 200, ScrollOrientation.HorizontalScroll, new Size(10, 20), new Size(20, 20) }; 2577yield return new object[] { true, 200, 100, ScrollOrientation.HorizontalScroll, new Size(10, 20), new Size(5, 20) }; 2581yield return new object[] { false, 100, 200, ScrollOrientation.HorizontalScroll, new Size(10, 20), new Size(10, 20) }; 2841Assert.Equal(ScrollOrientation.HorizontalScroll, e.ScrollOrientation);
System\Windows\Forms\ScrollEventArgsTests.cs (6)
20Assert.Equal(ScrollOrientation.HorizontalScroll, e.ScrollOrientation); 34Assert.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)]