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