50 references to LargeIncrement
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (2)
2582
ScrollRowsByCount(rowsToScroll, rowsToScroll > 1 ? ScrollEventType.
LargeIncrement
: ScrollEventType.SmallIncrement);
2752
scrollEventType = Columns.GetColumnCount(DataGridViewElementStates.Visible, oldFirstVisibleScrollingCol, DisplayedBandsInfo.FirstDisplayedScrollingCol) > 1 ? ScrollEventType.
LargeIncrement
: ScrollEventType.SmallIncrement;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
26318
ScrollRowsByCount(rowsToScroll, rowsToScroll > 1 ? ScrollEventType.
LargeIncrement
: ScrollEventType.SmallIncrement);
26401
Debug.Assert((rows > 0 && (scrollEventType == ScrollEventType.SmallIncrement || scrollEventType == ScrollEventType.
LargeIncrement
))
26530
scrollEventType = rowCount > 1 ? ScrollEventType.
LargeIncrement
: ScrollEventType.SmallIncrement;
28461
case ScrollEventType.
LargeIncrement
:
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
657
type = ScrollEventType.
LargeIncrement
;
660
case ScrollEventType.
LargeIncrement
:
694
case ScrollEventType.
LargeIncrement
:
System.Windows.Forms.Tests (41)
System\Windows\Forms\ScrollBarTests.cs (32)
2727
yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.
LargeIncrement
, 91, ScrollEventType.
LargeIncrement
};
2728
yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.
LargeIncrement
, 91, ScrollEventType.
LargeIncrement
};
2729
yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.
LargeIncrement
, 91, ScrollEventType.
LargeIncrement
};
2730
yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.
LargeIncrement
, 91, ScrollEventType.
LargeIncrement
};
2731
yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.
LargeIncrement
, 25, ScrollEventType.
LargeIncrement
};
2732
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
LargeIncrement
, 20, ScrollEventType.
LargeIncrement
};
2733
yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.
LargeIncrement
, 11, ScrollEventType.
LargeIncrement
};
2734
yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.
LargeIncrement
, 10, ScrollEventType.
LargeIncrement
};
2735
yield return new object[] { msg, RightToLeft.Yes, 100, ScrollEventType.LargeDecrement, 91, ScrollEventType.
LargeIncrement
};
2736
yield return new object[] { msg, RightToLeft.Yes, 99, ScrollEventType.LargeDecrement, 91, ScrollEventType.
LargeIncrement
};
2737
yield return new object[] { msg, RightToLeft.Yes, 91, ScrollEventType.LargeDecrement, 91, ScrollEventType.
LargeIncrement
};
2738
yield return new object[] { msg, RightToLeft.Yes, 85, ScrollEventType.LargeDecrement, 91, ScrollEventType.
LargeIncrement
};
2739
yield return new object[] { msg, RightToLeft.Yes, 15, ScrollEventType.LargeDecrement, 25, ScrollEventType.
LargeIncrement
};
2740
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.LargeDecrement, 20, ScrollEventType.
LargeIncrement
};
2741
yield return new object[] { msg, RightToLeft.Yes, 1, ScrollEventType.LargeDecrement, 11, ScrollEventType.
LargeIncrement
};
2742
yield return new object[] { msg, RightToLeft.Yes, 0, ScrollEventType.LargeDecrement, 10, ScrollEventType.
LargeIncrement
};
2769
yield return new object[] { msg, RightToLeft.Yes, 100, ScrollEventType.
LargeIncrement
, 90, ScrollEventType.LargeDecrement };
2770
yield return new object[] { msg, RightToLeft.Yes, 99, ScrollEventType.
LargeIncrement
, 89, ScrollEventType.LargeDecrement };
2771
yield return new object[] { msg, RightToLeft.Yes, 91, ScrollEventType.
LargeIncrement
, 81, ScrollEventType.LargeDecrement };
2772
yield return new object[] { msg, RightToLeft.Yes, 85, ScrollEventType.
LargeIncrement
, 75, ScrollEventType.LargeDecrement };
2773
yield return new object[] { msg, RightToLeft.Yes, 15, ScrollEventType.
LargeIncrement
, 5, ScrollEventType.LargeDecrement };
2774
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
LargeIncrement
, 0, ScrollEventType.LargeDecrement };
2775
yield return new object[] { msg, RightToLeft.Yes, 1, ScrollEventType.
LargeIncrement
, 0, ScrollEventType.LargeDecrement };
2776
yield return new object[] { msg, RightToLeft.Yes, 0, ScrollEventType.
LargeIncrement
, 0, ScrollEventType.LargeDecrement };
System\Windows\Forms\ScrollEventArgsTests.cs (9)
11
[InlineData(ScrollEventType.
LargeIncrement
, -1)]
13
[InlineData(ScrollEventType.
LargeIncrement
, 1)]
25
[InlineData(ScrollEventType.
LargeIncrement
, -1, -1)]
27
[InlineData(ScrollEventType.
LargeIncrement
, 1, 2)]
39
[InlineData(ScrollEventType.
LargeIncrement
, -1, ScrollOrientation.HorizontalScroll)]
41
[InlineData(ScrollEventType.
LargeIncrement
, 1, ScrollOrientation.VerticalScroll)]
53
[InlineData(ScrollEventType.
LargeIncrement
, -1, -1, ScrollOrientation.HorizontalScroll)]
55
[InlineData(ScrollEventType.
LargeIncrement
, 1, 2, ScrollOrientation.VerticalScroll)]
72
ScrollEventArgs e = new(ScrollEventType.
LargeIncrement
, 2)