1 write to SelectedGridEntry
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2060
propertyGridView.
SelectedGridEntry
= this;
29 references to SelectedGridEntry
System.Windows.Forms (29)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
47
|| _owningPropertyGrid?.
SelectedGridEntry
?.AccessibilityObject is not PropertyDescriptorGridEntryAccessibleObject parent)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (4)
20
&& owner == propertyGridView.
SelectedGridEntry
35
if (GetPropertyGridView() is { } propertyGridView && propertyGridView.
SelectedGridEntry
== owner)
106
if (GetPropertyGridView() is { } propertyGridView && propertyGridView.
SelectedGridEntry
== owner)
173
if (GetPropertyGridView() is { } propertyGridView && propertyGridView.
SelectedGridEntry
== owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (6)
336
if (editor is not null && _gridView?.
SelectedGridEntry
is not null)
338
Type? createType = _gridView.
SelectedGridEntry
.PropertyType;
343
object? newValue = editor.CreateInstance(_gridView.
SelectedGridEntry
, createType);
538
if (_gridView.UnfocusSelection() && _gridView.
SelectedGridEntry
is not null)
540
_gridView.
SelectedGridEntry
.OnValueReturnKey();
560
? GetInstanceCreationEditor(_gridView.
SelectedGridEntry
as PropertyDescriptorGridEntry)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.DropDownHolderAccessibleObject.cs (1)
30
GridEntry? selectedEntry = gridView?.
SelectedGridEntry
;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewListBoxAccessibleObject.cs (1)
32
|| owner.OwningPropertyGridView.
SelectedGridEntry
is null
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (11)
173
if (PropertyGridView.
SelectedGridEntry
is not null &&
174
ClientRectangle.Width <= PropertyGridView.
SelectedGridEntry
.GetValueTextWidth(Text, graphics, Font))
226
if (PropertyGridView.
SelectedGridEntry
is not null
227
&& !PropertyGridView.
SelectedGridEntry
.Enumerable
228
&& !PropertyGridView.
SelectedGridEntry
.IsTextEditable
229
&& PropertyGridView.
SelectedGridEntry
.CanResetPropertyValue())
231
object? oldValue = PropertyGridView.
SelectedGridEntry
.PropertyValue;
232
PropertyGridView.
SelectedGridEntry
.ResetPropertyValue();
234
PropertyGridView.OwnerGrid.OnPropertyValueSet(PropertyGridView.
SelectedGridEntry
, oldValue);
253
if (PropertyGridView.UnfocusSelection() && fwdReturn && PropertyGridView.
SelectedGridEntry
is not null)
255
PropertyGridView.
SelectedGridEntry
.OnValueReturnKey();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.GridViewTextBoxAccessibleObject.cs (3)
47
|| owner.PropertyGridView.
SelectedGridEntry
?.AccessibilityObject is not PropertyDescriptorGridEntryAccessibleObject parent)
98
: owner.PropertyGridView.
SelectedGridEntry
?.AccessibilityObject.Name ?? base.Name;
108
|| owner.PropertyGridView.
SelectedGridEntry
is not PropertyDescriptorGridEntry propertyDescriptorGridEntry
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (2)
411
GridEntry? gridEntry = owner.
SelectedGridEntry
;
421
=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : owner.
SelectedGridEntry
?.AccessibilityObject;