5 writes to _selectedGridEntry
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
1023
_selectedGridEntry
= null;
4062
_selectedGridEntry
= null;
4102
_selectedGridEntry
= GetGridEntryFromRow(_selectedRow);
4325
_selectedGridEntry
= gridEntry;
4421
_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;
505
get =>
_selectedGridEntry
;
1022
_selectedGridEntry
?.Dispose();
1037
else if (
_selectedGridEntry
is not null)
1039
Clipboard.SetDataObject(
_selectedGridEntry
.GetPropertyTextValue());
1579
if (
_selectedGridEntry
is not null)
1586
return !
_selectedGridEntry
.Expandable;
2214
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2216
_selectedGridEntry
.HasFocus = true;
2217
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2224
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.GetValueOwner() is not null)
2226
UpdateHelpAttributes(oldEntry: null,
_selectedGridEntry
);
2309
if (index < 0 ||
_selectedGridEntry
is null)
2349
_selectedGridEntry
?.OnValueReturnKey();
2437
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2439
_selectedGridEntry
.HasFocus = true;
2607
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2683
if (
_selectedGridEntry
is not null)
2685
string currentTextValue =
_selectedGridEntry
.GetPropertyTextValue();
2959
if (
_selectedGridEntry
is not null
2960
&&
_selectedGridEntry
.Enumerable
2965
ProcessEnumUpAndDown(
_selectedGridEntry
, keyCode, closeDropDown: false);
3173
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Enumerable && EditTextBox.Focused &&
_selectedGridEntry
.IsValueEditable)
3175
int index = GetCurrentValueIndex(
_selectedGridEntry
);
3179
object[] values =
_selectedGridEntry
.GetPropertyValueList();
3195
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
3468
bool setSelectTime = sender !=
_selectedGridEntry
;
3511
if (
_selectedGridEntry
is not null)
3513
SelectGridEntry(
_selectedGridEntry
, true);
3527
if (
_selectedGridEntry
is not null)
3529
SelectGridEntry(
_selectedGridEntry
, true);
3648
bool selectionVisible =
_selectedGridEntry
is not null && _selectedRow >= 0 && _selectedRow <= _visibleRows;
3649
SelectGridEntry(
_selectedGridEntry
, selectionVisible);
3663
GridEntry? oldGridEntry =
_selectedGridEntry
;
3664
if (
_selectedGridEntry
is not null)
3943
else if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Expandable)
3945
SetExpand(
_selectedGridEntry
, !
_selectedGridEntry
.InternalExpanded);
3984
GridEntry? selectedEntry =
_selectedGridEntry
;
4061
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
4193
GridEntry? currentEntry =
_selectedGridEntry
;
4315
UpdateHelpAttributes(
_selectedGridEntry
, gridEntry);
4318
_selectedGridEntry
?.HasFocus = false;
4337
if (_selectedRow != row || (
_selectedGridEntry
is not null && !gridEntry.Equals(
_selectedGridEntry
)))
4419
GridEntry? oldSelectedGridEntry =
_selectedGridEntry
;
4425
_selectedGridEntry
?.HasFocus = FocusInside;
4442
if (
_selectedGridEntry
!= oldSelectedGridEntry)
4444
OwnerGrid.OnSelectedGridItemChanged(oldSelectedGridEntry,
_selectedGridEntry
);
4523
if (
_selectedGridEntry
is not null && IsAccessibilityObjectCreated)
4527
_selectedGridEntry
.AccessibilityObject.RaiseAutomationPropertyChangedEvent(
4534
GridEntry? selectedEntry =
_selectedGridEntry
;
4588
_selectedRow = GetRowFromGridEntry(
_selectedGridEntry
);
4642
GridEntry? currentEntry =
_selectedGridEntry
;
4644
if (
_selectedGridEntry
is null && _selectedRow != -1)
4739
entry =
_selectedGridEntry
!;
4754
GridEntry? currentEntry =
_selectedGridEntry
;
4756
if (
_selectedGridEntry
is null && _selectedRow != -1)
4806
if (
_selectedGridEntry
is null)
4812
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
4985
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5058
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5099
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
5363
if (
_selectedGridEntry
is not null && (ModifierKeys & Keys.Shift) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
16
_selectedItemTree = GetGridEntryHierarchy(gridView.
_selectedGridEntry
);