3 writes to numTotallyVisibleRows
System.Windows.Forms (3)
winforms\Managed\System\WinForms\DataGrid.cs (3)
5654
numVisibleRows =
numTotallyVisibleRows
= 0;
5676
numVisibleRows =
numTotallyVisibleRows
= visibleRows;
5678
numTotallyVisibleRows
--;
12 references to numTotallyVisibleRows
System.Windows.Forms (12)
winforms\Managed\System\WinForms\DataGrid.cs (12)
3661
se.NewValue = Math.Min(se.NewValue, DataGridRowsLength -
numTotallyVisibleRows
);
4386
newRow = Math.Max(0, Math.Min(newRow, DataGridRowsLength -
numTotallyVisibleRows
));
5681
Debug.Assert(
numTotallyVisibleRows
>= 0, "the number of totally visible rows can't be negative");
6375
|| row >= firstVisibleRow +
numTotallyVisibleRows
) {
6762
if (
numTotallyVisibleRows
!= DataGridRowsLength && !needVertScrollbar) {
6791
if (
numTotallyVisibleRows
!= DataGridRowsLength && !needVertScrollbar) {
6843
vertScrollBar.LargeChange =
numTotallyVisibleRows
!= 0 ?
numTotallyVisibleRows
: 1;
7908
CurrentRow = Math.Min(DataGridRowsLength - (policy.AllowAdd ? 2:1), currentRow +
numTotallyVisibleRows
);
7930
CurrentRow +
numTotallyVisibleRows
);
7942
CurrentRow = Math.Max(0, CurrentRow -
numTotallyVisibleRows
);
7965
CurrentRow -
numTotallyVisibleRows
);