5 writes to _selectedGridEntry
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
1022
_selectedGridEntry
= null;
4073
_selectedGridEntry
= null;
4113
_selectedGridEntry
= GetGridEntryFromRow(_selectedRow);
4336
_selectedGridEntry
= gridEntry;
4432
_selectedGridEntry
= gridEntry;
76 references to _selectedGridEntry
System.Windows.Forms (76)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (75)
159
=>
_selectedGridEntry
is not null
160
&& (EditTextBox.Focused || !string.IsNullOrEmpty(
_selectedGridEntry
.GetPropertyTextValue()));
164
public bool CanCut => CanCopy &&
_selectedGridEntry
is not null &&
_selectedGridEntry
.IsTextEditable;
168
public bool CanPaste =>
_selectedGridEntry
is not null &&
_selectedGridEntry
.IsTextEditable;
504
get =>
_selectedGridEntry
;
1021
_selectedGridEntry
?.Dispose();
1036
else if (
_selectedGridEntry
is not null)
1038
Clipboard.SetDataObject(
_selectedGridEntry
.GetPropertyTextValue());
1584
if (
_selectedGridEntry
is not null)
1591
return !
_selectedGridEntry
.Expandable;
2219
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2221
_selectedGridEntry
.HasFocus = true;
2222
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2229
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.GetValueOwner() is not null)
2231
UpdateHelpAttributes(oldEntry: null,
_selectedGridEntry
);
2314
if (index < 0 ||
_selectedGridEntry
is null)
2354
_selectedGridEntry
?.OnValueReturnKey();
2442
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2444
_selectedGridEntry
.HasFocus = true;
2612
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2688
if (
_selectedGridEntry
is not null)
2690
string currentTextValue =
_selectedGridEntry
.GetPropertyTextValue();
2964
if (
_selectedGridEntry
is not null
2965
&&
_selectedGridEntry
.Enumerable
2970
ProcessEnumUpAndDown(
_selectedGridEntry
, keyCode, closeDropDown: false);
3178
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Enumerable && EditTextBox.Focused &&
_selectedGridEntry
.IsValueEditable)
3180
int index = GetCurrentValueIndex(
_selectedGridEntry
);
3184
object[] values =
_selectedGridEntry
.GetPropertyValueList();
3206
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
3479
bool setSelectTime = sender !=
_selectedGridEntry
;
3522
if (
_selectedGridEntry
is not null)
3524
SelectGridEntry(
_selectedGridEntry
, true);
3538
if (
_selectedGridEntry
is not null)
3540
SelectGridEntry(
_selectedGridEntry
, true);
3659
bool selectionVisible =
_selectedGridEntry
is not null && _selectedRow >= 0 && _selectedRow <= _visibleRows;
3660
SelectGridEntry(
_selectedGridEntry
, selectionVisible);
3674
GridEntry? oldGridEntry =
_selectedGridEntry
;
3675
if (
_selectedGridEntry
is not null)
3954
else if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Expandable)
3956
SetExpand(
_selectedGridEntry
, !
_selectedGridEntry
.InternalExpanded);
3995
GridEntry? selectedEntry =
_selectedGridEntry
;
4072
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
4204
GridEntry? currentEntry =
_selectedGridEntry
;
4326
UpdateHelpAttributes(
_selectedGridEntry
, gridEntry);
4329
_selectedGridEntry
?.HasFocus = false;
4348
if (_selectedRow != row || (
_selectedGridEntry
is not null && !gridEntry.Equals(
_selectedGridEntry
)))
4430
GridEntry? oldSelectedGridEntry =
_selectedGridEntry
;
4436
_selectedGridEntry
?.HasFocus = FocusInside;
4453
if (
_selectedGridEntry
!= oldSelectedGridEntry)
4455
OwnerGrid.OnSelectedGridItemChanged(oldSelectedGridEntry,
_selectedGridEntry
);
4534
if (
_selectedGridEntry
is not null && IsAccessibilityObjectCreated)
4538
_selectedGridEntry
.AccessibilityObject.RaiseAutomationPropertyChangedEvent(
4545
GridEntry? selectedEntry =
_selectedGridEntry
;
4599
_selectedRow = GetRowFromGridEntry(
_selectedGridEntry
);
4653
GridEntry? currentEntry =
_selectedGridEntry
;
4655
if (
_selectedGridEntry
is null && _selectedRow != -1)
4750
entry =
_selectedGridEntry
!;
4765
GridEntry? currentEntry =
_selectedGridEntry
;
4767
if (
_selectedGridEntry
is null && _selectedRow != -1)
4817
if (
_selectedGridEntry
is null)
4823
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
4996
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5069
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5110
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
5374
if (
_selectedGridEntry
is not null && (ModifierKeys & Keys.Shift) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
16
_selectedItemTree = GetGridEntryHierarchy(gridView.
_selectedGridEntry
);