2 writes to _visibleRows
System.Windows.Forms (2)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (2)
4423
_visibleRows
= (int)Math.Ceiling(((double)size.Height) / (1 + RowHeight));
4442
_visibleRows
= rgipesAll.Count - scroll;
24 references to _visibleRows
System.Windows.Forms (24)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (23)
1357
if (row < 0 || row >=
_visibleRows
)
1670
if (
_visibleRows
== -1 || TotalProperties == -1 || !HasEntries)
2830
int offset = next ?
_visibleRows
- 1 : 1 -
_visibleRows
;
2848
row = next ?
_visibleRows
- 1 : 0;
3176
newOffset = Math.Min(newOffset, TotalProperties -
_visibleRows
+ 1);
3209
newOffset = Math.Min(newOffset, TotalProperties -
_visibleRows
+ 1);
3224
if (_scrollBar!.Value > (_scrollBar.Maximum -
_visibleRows
+ 1))
3259
int endRow =
_visibleRows
- 1;
3283
int visibleCount = Math.Min(TotalProperties - GetScrollOffset(), 1 +
_visibleRows
);
3609
bool selectionVisible = _selectedGridEntry is not null && _selectedRow >= 0 && _selectedRow <=
_visibleRows
;
4174
if (currentRow >= 0 && currentRow <
_visibleRows
- 1)
4285
if (row < 0 || row >=
_visibleRows
)
4440
if ((scroll +
_visibleRows
) >= rgipesAll.Count)
4519
if (value && newItems > 0 && newItems <
_visibleRows
&& (row + newItems) >=
_visibleRows
&& newItems < currentRow)
4549
int newPosition = Math.Max(0, Math.Min(TotalProperties -
_visibleRows
+ 1, offset));
4551
if (newPosition != oldPosition && IsScrollValueValid(newPosition) &&
_visibleRows
> 0)
4804
if (TotalProperties <
_visibleRows
)
4810
SetScrollOffset(TotalProperties + 1 -
_visibleRows
);
4814
if (
_visibleRows
> 0)
4816
ScrollBar.LargeChange =
_visibleRows
- 1;
4822
if (hidden != (TotalProperties <
_visibleRows
))
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
36
if (_itemRow < gridView.
_visibleRows
)