8 writes to _selectedRow
System.Windows.Forms (8)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (8)
734_selectedRow = -1; 3634_selectedRow = -1; 4062_selectedRow = 0; 4085_selectedRow = -1; 4220_selectedRow = -1; // clear the selected row since it's no longer a valid number 4288_selectedRow = row; 4384_selectedRow = row; 4555_selectedRow = GetRowFromGridEntry(_selectedGridEntry);
68 references to _selectedRow
System.Windows.Forms (68)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (66)
455Rectangle rect = GetRectangle(_selectedRow, RowLabel); 689if (_selectedRow != -1) 691SelectRow(_selectedRow); 787if (_selectedRow != -1) 789SelectRow(_selectedRow); 793if (_selectedRow != -1) 795GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 1197GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 1212PopupEditor(_selectedRow); 1218PopupEditor(_selectedRow); 1288SelectRow(_selectedRow); 1417Rectangle rect = GetRectangle(_selectedRow, RowValue); 1439var gridEntry = GetGridEntryFromRow(_selectedRow); 1471if (_selectedRow != -1) 1474SelectRow(_selectedRow); 1482int row = _selectedRow; 1512GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 1573GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 1958GridEntry? gridEntry = (entry < 0) ? GetGridEntryFromRow(_selectedRow) : GetGridEntryFromOffset(entry); 2109if (_selectedRow != -1) 2112SelectRow(_selectedRow); 2154PopupEditor(_selectedRow); 2242GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 2258_ = GetGridEntryFromRow(_selectedRow); 2264SelectRow(_selectedRow); 2276SelectRow(_selectedRow); 2299GridEntry gridEntry = GetGridEntryFromRow(_selectedRow)!; 2345GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 2350InvalidateRow(_selectedRow); 2416InvalidateRow(_selectedRow); 2490GridEntry gridEntry = GetGridEntryFromRow(_selectedRow)!; 2515GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 2578DoubleClickRow(_selectedRow, toggleExpand: false, RowValue); 2599DoubleClickRow(_selectedRow, toggleExpand: false, RowValue); 2683GridEntry? entry = GetGridEntryFromRow(_selectedRow); 2732int position = keyCode == Keys.Up ? _selectedRow - 1 : _selectedRow + 1; 2751SelectGridEntry(GetGridEntryFromRow(_selectedRow - 1), pageIn: true); 2777SelectGridEntry(GetGridEntryFromRow(_selectedRow + 1), pageIn: true); 2833int row = _selectedRow; 2840if (_selectedRow != -1) 3079if (_dropDownHolder is null || _dropDownHolder.Component is null || rowMoveCurrent == _selectedRow) 3329DrawLabel(g, i, rect, i == _selectedRow, false, clipRect); 3330if (i == _selectedRow) 3609bool selectionVisible = _selectedGridEntry is not null && _selectedRow >= 0 && _selectedRow <= _visibleRows; 3878SelectGridEntry(GetGridEntryFromRow(_selectedRow), pageIn: false); 4063_selectedGridEntry = GetGridEntryFromRow(_selectedRow); 4082CommonEditorHide(_selectedRow != -1); 4104GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 4111SelectRow(_selectedRow); 4252if (_errorState != ErrorState.None || (row != _selectedRow && !CommitEditTextBox())) 4266if (row != _selectedRow) 4271if (_flags.HasFlag(Flags.IsNewSelection) && GetGridEntryFromRow(_selectedRow) is null) 4300int oldSelectedRow = _selectedRow; 4301if (_selectedRow != row || (_selectedGridEntry is not null && !gridEntry.Equals(_selectedGridEntry))) 4476int currentRow = _selectedRow; 4479if (_selectedRow != -1 && row < _selectedRow && EditTextBox.Visible) 4581if (GetGridEntryFromRow(_selectedRow) is null) 4611if (_selectedGridEntry is null && _selectedRow != -1) 4613currentEntry = GetGridEntryFromRow(_selectedRow); 4723if (_selectedGridEntry is null && _selectedRow != -1) 4725currentEntry = GetGridEntryFromRow(_selectedRow); 5040GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow); 5173GridEntry? gridEntry = GetGridEntryFromRow(_selectedRow);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (2)
18_itemRow = gridView._selectedRow; 33int delta = gridView._selectedRow - _itemRow;