5 writes to _selectedGridEntry
System.Windows.Forms (5)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
1022
_selectedGridEntry
= null;
4061
_selectedGridEntry
= null;
4101
_selectedGridEntry
= GetGridEntryFromRow(_selectedRow);
4324
_selectedGridEntry
= gridEntry;
4420
_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());
1578
if (
_selectedGridEntry
is not null)
1585
return !
_selectedGridEntry
.Expandable;
2213
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2215
_selectedGridEntry
.HasFocus = true;
2216
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2223
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.GetValueOwner() is not null)
2225
UpdateHelpAttributes(oldEntry: null,
_selectedGridEntry
);
2308
if (index < 0 ||
_selectedGridEntry
is null)
2348
_selectedGridEntry
?.OnValueReturnKey();
2436
if (
_selectedGridEntry
is not null && GetRowFromGridEntry(
_selectedGridEntry
) != -1)
2438
_selectedGridEntry
.HasFocus = true;
2606
SelectGridEntry(
_selectedGridEntry
, pageIn: false);
2682
if (
_selectedGridEntry
is not null)
2684
string currentTextValue =
_selectedGridEntry
.GetPropertyTextValue();
2958
if (
_selectedGridEntry
is not null
2959
&&
_selectedGridEntry
.Enumerable
2964
ProcessEnumUpAndDown(
_selectedGridEntry
, keyCode, closeDropDown: false);
3172
if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Enumerable && EditTextBox.Focused &&
_selectedGridEntry
.IsValueEditable)
3174
int index = GetCurrentValueIndex(
_selectedGridEntry
);
3178
object[] values =
_selectedGridEntry
.GetPropertyValueList();
3194
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
3467
bool setSelectTime = sender !=
_selectedGridEntry
;
3510
if (
_selectedGridEntry
is not null)
3512
SelectGridEntry(
_selectedGridEntry
, true);
3526
if (
_selectedGridEntry
is not null)
3528
SelectGridEntry(
_selectedGridEntry
, true);
3647
bool selectionVisible =
_selectedGridEntry
is not null && _selectedRow >= 0 && _selectedRow <= _visibleRows;
3648
SelectGridEntry(
_selectedGridEntry
, selectionVisible);
3662
GridEntry? oldGridEntry =
_selectedGridEntry
;
3663
if (
_selectedGridEntry
is not null)
3942
else if (
_selectedGridEntry
is not null &&
_selectedGridEntry
.Expandable)
3944
SetExpand(
_selectedGridEntry
, !
_selectedGridEntry
.InternalExpanded);
3983
GridEntry? selectedEntry =
_selectedGridEntry
;
4060
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
4192
GridEntry? currentEntry =
_selectedGridEntry
;
4314
UpdateHelpAttributes(
_selectedGridEntry
, gridEntry);
4317
_selectedGridEntry
?.HasFocus = false;
4336
if (_selectedRow != row || (
_selectedGridEntry
is not null && !gridEntry.Equals(
_selectedGridEntry
)))
4418
GridEntry? oldSelectedGridEntry =
_selectedGridEntry
;
4424
_selectedGridEntry
?.HasFocus = FocusInside;
4441
if (
_selectedGridEntry
!= oldSelectedGridEntry)
4443
OwnerGrid.OnSelectedGridItemChanged(oldSelectedGridEntry,
_selectedGridEntry
);
4522
if (
_selectedGridEntry
is not null && IsAccessibilityObjectCreated)
4526
_selectedGridEntry
.AccessibilityObject.RaiseAutomationPropertyChangedEvent(
4533
GridEntry? selectedEntry =
_selectedGridEntry
;
4587
_selectedRow = GetRowFromGridEntry(
_selectedGridEntry
);
4641
GridEntry? currentEntry =
_selectedGridEntry
;
4643
if (
_selectedGridEntry
is null && _selectedRow != -1)
4738
entry =
_selectedGridEntry
!;
4753
GridEntry? currentEntry =
_selectedGridEntry
;
4755
if (
_selectedGridEntry
is null && _selectedRow != -1)
4805
if (
_selectedGridEntry
is null)
4811
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
4984
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5057
SelectGridEntry(
_selectedGridEntry
, pageIn: true);
5098
UpdateHelpAttributes(
_selectedGridEntry
, newEntry: null);
5362
if (
_selectedGridEntry
is not null && (ModifierKeys & Keys.Shift) == 0)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridPositionData.cs (1)
16
_selectedItemTree = GetGridEntryHierarchy(gridView.
_selectedGridEntry
);