40 references to LargeDecrement
System.Windows.Forms (8)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2757
scrollEventType = Columns.GetColumnCount(DataGridViewElementStates.Visible, DisplayedBandsInfo.FirstDisplayedScrollingCol, oldFirstVisibleScrollingCol) > 1 ? ScrollEventType.
LargeDecrement
: ScrollEventType.SmallDecrement;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (4)
26270
ScrollRowsByCount(-rowsToScroll, rowsToScroll > 1 ? ScrollEventType.
LargeDecrement
: ScrollEventType.SmallDecrement);
26382
|| (rows < 0 && (scrollEventType == ScrollEventType.SmallDecrement || scrollEventType == ScrollEventType.
LargeDecrement
)));
26516
scrollEventType = rowCount < -1 ? ScrollEventType.
LargeDecrement
: ScrollEventType.SmallDecrement;
28451
case ScrollEventType.
LargeDecrement
:
System\Windows\Forms\Scrolling\ScrollBar.cs (3)
656
case ScrollEventType.
LargeDecrement
:
661
type = ScrollEventType.
LargeDecrement
;
690
case ScrollEventType.
LargeDecrement
:
System.Windows.Forms.Tests (32)
System\Windows\Forms\ScrollBarTests.cs (32)
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 };
2761
yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.
LargeDecrement
, 90, ScrollEventType.
LargeDecrement
};
2762
yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.
LargeDecrement
, 89, ScrollEventType.
LargeDecrement
};
2763
yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.
LargeDecrement
, 81, ScrollEventType.
LargeDecrement
};
2764
yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.
LargeDecrement
, 75, ScrollEventType.
LargeDecrement
};
2765
yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.
LargeDecrement
, 5, ScrollEventType.
LargeDecrement
};
2766
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
LargeDecrement
, 0, ScrollEventType.
LargeDecrement
};
2767
yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.
LargeDecrement
, 0, ScrollEventType.
LargeDecrement
};
2768
yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.
LargeDecrement
, 0, ScrollEventType.
LargeDecrement
};
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
};