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