5 writes to _selectedGridEntry
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
999
_selectedGridEntry
= null;
4023
_selectedGridEntry
= null;
4063
_selectedGridEntry
= GetGridEntryFromRow(_selectedRow);
4286
_selectedGridEntry
= gridEntry;
4382
_selectedGridEntry
= gridEntry;
76 references to _selectedGridEntry
System.Windows.Forms (76)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (75)
158
=>
_selectedGridEntry
is not null
159
&& (EditTextBox.Focused || !string.IsNullOrEmpty(
_selectedGridEntry
.GetPropertyTextValue()));
163
public bool CanCut => CanCopy &&
_selectedGridEntry
is not null &&
_selectedGridEntry
.IsTextEditable;
167
public bool CanPaste =>
_selectedGridEntry
is not null &&
_selectedGridEntry
.IsTextEditable;
481
get =>
_selectedGridEntry
;
998
_selectedGridEntry
?.Dispose();
1013
else if (
_selectedGridEntry
is not null)
1015
Clipboard.SetDataObject(
_selectedGridEntry
.GetPropertyTextValue());
1555
if (
_selectedGridEntry
is not null)
1562
return !
_selectedGridEntry
.Expandable;
2190
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2192
_selectedGridEntry
.HasFocus = true;
2193
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2200
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.GetValueOwner() is not null)
2202
UpdateHelpAttributes(oldEntry: null,
_selectedGridEntry
);
2285
if (index < 0 ||
_selectedGridEntry
is null)
2325
_selectedGridEntry
?.OnValueReturnKey();
2413
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2415
_selectedGridEntry
.HasFocus = true;
2573
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2644
if (
_selectedGridEntry
is not null)
2646
string currentTextValue =
_selectedGridEntry
.GetPropertyTextValue();
2920
if (
_selectedGridEntry
is not null
2921
&&
_selectedGridEntry
.Enumerable
2926
ProcessEnumUpAndDown(
_selectedGridEntry
, keyCode, closeDropDown: false);
3134
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Enumerable && EditTextBox.Focused &&
_selectedGridEntry
.IsValueEditable)
3136
int index = GetCurrentValueIndex(
_selectedGridEntry
);
3140
object[] values =
_selectedGridEntry
.GetPropertyValueList();
3156
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
3429
bool setSelectTime = sender !=
_selectedGridEntry
;
3472
if (
_selectedGridEntry
is not null)
3474
SelectGridEntry(
_selectedGridEntry
, true);
3488
if (
_selectedGridEntry
is not null)
3490
SelectGridEntry(
_selectedGridEntry
, true);
3609
bool selectionVisible =
_selectedGridEntry
is not null && _selectedRow >= 0 && _selectedRow <= _visibleRows;
3610
SelectGridEntry(
_selectedGridEntry
, selectionVisible);
3624
GridEntry? oldGridEntry =
_selectedGridEntry
;
3625
if (
_selectedGridEntry
is not null)
3904
else if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Expandable)
3906
SetExpand(
_selectedGridEntry
, !
_selectedGridEntry
.InternalExpanded);
3945
GridEntry? selectedEntry =
_selectedGridEntry
;
4022
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
4154
GridEntry? currentEntry =
_selectedGridEntry
;
4276
UpdateHelpAttributes(
_selectedGridEntry
, gridEntry);
4279
_selectedGridEntry
?.HasFocus = false;
4298
if (_selectedRow != row || (
_selectedGridEntry
is not null && !gridEntry.Equals(
_selectedGridEntry
)))
4380
GridEntry? oldSelectedGridEntry =
_selectedGridEntry
;
4386
_selectedGridEntry
?.HasFocus = FocusInside;
4403
if (
_selectedGridEntry
!= oldSelectedGridEntry)
4405
OwnerGrid.OnSelectedGridItemChanged(oldSelectedGridEntry,
_selectedGridEntry
);
4484
if (
_selectedGridEntry
is not null && IsAccessibilityObjectCreated)
4488
_selectedGridEntry
.AccessibilityObject.RaiseAutomationPropertyChangedEvent(
4495
GridEntry? selectedEntry =
_selectedGridEntry
;
4549
_selectedRow = GetRowFromGridEntry(
_selectedGridEntry
);
4603
GridEntry? currentEntry =
_selectedGridEntry
;
4605
if (
_selectedGridEntry
is null && _selectedRow != -1)
4700
entry =
_selectedGridEntry
!;
4715
GridEntry? currentEntry =
_selectedGridEntry
;
4717
if (
_selectedGridEntry
is null && _selectedRow != -1)
4767
if (
_selectedGridEntry
is null)
4773
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
4946
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5019
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5060
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
5324
if (
_selectedGridEntry
is not null && (ModifierKeys & Keys.Shift) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
16
_selectedItemTree = GetGridEntryHierarchy(gridView.
_selectedGridEntry
);