64 references to SmallIncrement
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (3)
2582
ScrollRowsByCount(rowsToScroll, rowsToScroll > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.
SmallIncrement
);
2748
scrollEventType = change > 0 ? ScrollEventType.
SmallIncrement
: ScrollEventType.SmallDecrement;
2752
scrollEventType = Columns.GetColumnCount(DataGridViewElementStates.Visible, oldFirstVisibleScrollingCol, DisplayedBandsInfo.FirstDisplayedScrollingCol) > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.
SmallIncrement
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (9)
16576
ScrollRowsByCount(1, ScrollEventType.
SmallIncrement
);
26298
ScrollRowsByCount(rowsToScroll, rowsToScroll > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.
SmallIncrement
);
26381
Debug.Assert((rows > 0 && (scrollEventType == ScrollEventType.
SmallIncrement
|| scrollEventType == ScrollEventType.LargeIncrement))
26510
scrollEventType = rowCount > 1 ? ScrollEventType.LargeIncrement : ScrollEventType.
SmallIncrement
;
28391
if (se.Type is ScrollEventType.
SmallIncrement
or ScrollEventType.SmallDecrement)
28393
int dCols = (se.Type == ScrollEventType.
SmallIncrement
) ? 1 : -1;
28417
case ScrollEventType.
SmallIncrement
:
28424
ScrollRowsByCount(1, ScrollEventType.
SmallIncrement
);
29865
ScrollRowsByCount(normOffset, normOffset < 0 ? ScrollEventType.SmallDecrement : ScrollEventType.
SmallIncrement
);
System\Windows\Forms\Scrolling\ScrollBar.cs (4)
552
DoScroll(ScrollEventType.
SmallIncrement
);
649
type = ScrollEventType.
SmallIncrement
;
652
case ScrollEventType.
SmallIncrement
:
686
case ScrollEventType.
SmallIncrement
:
System.Windows.Forms.Tests (48)
System\Windows\Forms\ScrollBarTests.cs (48)
2359
new(ScrollEventType.
SmallIncrement
, 10, 11),
2368
new(ScrollEventType.
SmallIncrement
, 10, 11),
2377
new(ScrollEventType.
SmallIncrement
, 10, 11),
2378
new(ScrollEventType.
SmallIncrement
, 11, 12),
2387
new(ScrollEventType.
SmallIncrement
, 90, 91),
2396
new(ScrollEventType.
SmallIncrement
, 99, 91),
2405
new(ScrollEventType.
SmallIncrement
, 99, 91),
2406
new(ScrollEventType.
SmallIncrement
, 91, 91),
2416
new(ScrollEventType.
SmallIncrement
, 10, 11),
2425
new(ScrollEventType.
SmallIncrement
, 10, 11),
2434
new(ScrollEventType.
SmallIncrement
, 10, 11),
2435
new(ScrollEventType.
SmallIncrement
, 11, 12),
2444
new(ScrollEventType.
SmallIncrement
, 90, 91),
2453
new(ScrollEventType.
SmallIncrement
, 99, 91),
2462
new(ScrollEventType.
SmallIncrement
, 99, 91),
2463
new(ScrollEventType.
SmallIncrement
, 91, 91),
2710
yield return new object[] { msg, RightToLeft.No, 100, ScrollEventType.
SmallIncrement
, 91, ScrollEventType.
SmallIncrement
};
2711
yield return new object[] { msg, RightToLeft.No, 99, ScrollEventType.
SmallIncrement
, 91, ScrollEventType.
SmallIncrement
};
2712
yield return new object[] { msg, RightToLeft.No, 91, ScrollEventType.
SmallIncrement
, 91, ScrollEventType.
SmallIncrement
};
2713
yield return new object[] { msg, RightToLeft.No, 85, ScrollEventType.
SmallIncrement
, 86, ScrollEventType.
SmallIncrement
};
2714
yield return new object[] { msg, RightToLeft.No, 15, ScrollEventType.
SmallIncrement
, 16, ScrollEventType.
SmallIncrement
};
2715
yield return new object[] { msg, RightToLeft.No, 10, ScrollEventType.
SmallIncrement
, 11, ScrollEventType.
SmallIncrement
};
2716
yield return new object[] { msg, RightToLeft.No, 1, ScrollEventType.
SmallIncrement
, 2, ScrollEventType.
SmallIncrement
};
2717
yield return new object[] { msg, RightToLeft.No, 0, ScrollEventType.
SmallIncrement
, 1, ScrollEventType.
SmallIncrement
};
2718
yield return new object[] { msg, RightToLeft.Yes, 100, ScrollEventType.SmallDecrement, 91, ScrollEventType.
SmallIncrement
};
2719
yield return new object[] { msg, RightToLeft.Yes, 99, ScrollEventType.SmallDecrement, 91, ScrollEventType.
SmallIncrement
};
2720
yield return new object[] { msg, RightToLeft.Yes, 91, ScrollEventType.SmallDecrement, 91, ScrollEventType.
SmallIncrement
};
2721
yield return new object[] { msg, RightToLeft.Yes, 85, ScrollEventType.SmallDecrement, 86, ScrollEventType.
SmallIncrement
};
2722
yield return new object[] { msg, RightToLeft.Yes, 15, ScrollEventType.SmallDecrement, 16, ScrollEventType.
SmallIncrement
};
2723
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.SmallDecrement, 11, ScrollEventType.
SmallIncrement
};
2724
yield return new object[] { msg, RightToLeft.Yes, 1, ScrollEventType.SmallDecrement, 2, ScrollEventType.
SmallIncrement
};
2725
yield return new object[] { msg, RightToLeft.Yes, 0, ScrollEventType.SmallDecrement, 1, ScrollEventType.
SmallIncrement
};
2752
yield return new object[] { msg, RightToLeft.Yes, 100, ScrollEventType.
SmallIncrement
, 99, ScrollEventType.SmallDecrement };
2753
yield return new object[] { msg, RightToLeft.Yes, 99, ScrollEventType.
SmallIncrement
, 98, ScrollEventType.SmallDecrement };
2754
yield return new object[] { msg, RightToLeft.Yes, 91, ScrollEventType.
SmallIncrement
, 90, ScrollEventType.SmallDecrement };
2755
yield return new object[] { msg, RightToLeft.Yes, 85, ScrollEventType.
SmallIncrement
, 84, ScrollEventType.SmallDecrement };
2756
yield return new object[] { msg, RightToLeft.Yes, 15, ScrollEventType.
SmallIncrement
, 14, ScrollEventType.SmallDecrement };
2757
yield return new object[] { msg, RightToLeft.Yes, 10, ScrollEventType.
SmallIncrement
, 9, ScrollEventType.SmallDecrement };
2758
yield return new object[] { msg, RightToLeft.Yes, 1, ScrollEventType.
SmallIncrement
, 0, ScrollEventType.SmallDecrement };
2759
yield return new object[] { msg, RightToLeft.Yes, 0, ScrollEventType.
SmallIncrement
, 0, ScrollEventType.SmallDecrement };