1 write to SelectedGridEntry
System.Windows.Forms (1)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
2060propertyGridView.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 35if (GetPropertyGridView() is { } propertyGridView && propertyGridView.SelectedGridEntry == owner) 106if (GetPropertyGridView() is { } propertyGridView && propertyGridView.SelectedGridEntry == owner) 173if (GetPropertyGridView() is { } propertyGridView && propertyGridView.SelectedGridEntry == owner)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (6)
336if (editor is not null && _gridView?.SelectedGridEntry is not null) 338Type? createType = _gridView.SelectedGridEntry.PropertyType; 343object? newValue = editor.CreateInstance(_gridView.SelectedGridEntry, createType); 538if (_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)
30GridEntry? 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)
173if (PropertyGridView.SelectedGridEntry is not null && 174ClientRectangle.Width <= PropertyGridView.SelectedGridEntry.GetValueTextWidth(Text, graphics, Font)) 226if (PropertyGridView.SelectedGridEntry is not null 227&& !PropertyGridView.SelectedGridEntry.Enumerable 228&& !PropertyGridView.SelectedGridEntry.IsTextEditable 229&& PropertyGridView.SelectedGridEntry.CanResetPropertyValue()) 231object? oldValue = PropertyGridView.SelectedGridEntry.PropertyValue; 232PropertyGridView.SelectedGridEntry.ResetPropertyValue(); 234PropertyGridView.OwnerGrid.OnPropertyValueSet(PropertyGridView.SelectedGridEntry, oldValue); 253if (PropertyGridView.UnfocusSelection() && fwdReturn && PropertyGridView.SelectedGridEntry is not null) 255PropertyGridView.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)
411GridEntry? gridEntry = owner.SelectedGridEntry; 421=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : owner.SelectedGridEntry?.AccessibilityObject;