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)
170if (PropertyGridView.SelectedGridEntry is not null && 171ClientRectangle.Width <= PropertyGridView.SelectedGridEntry.GetValueTextWidth(Text, graphics, Font)) 223if (PropertyGridView.SelectedGridEntry is not null 224&& !PropertyGridView.SelectedGridEntry.Enumerable 225&& !PropertyGridView.SelectedGridEntry.IsTextEditable 226&& PropertyGridView.SelectedGridEntry.CanResetPropertyValue()) 228object? oldValue = PropertyGridView.SelectedGridEntry.PropertyValue; 229PropertyGridView.SelectedGridEntry.ResetPropertyValue(); 231PropertyGridView.OwnerGrid.OnPropertyValueSet(PropertyGridView.SelectedGridEntry, oldValue); 250if (PropertyGridView.UnfocusSelection() && fwdReturn && PropertyGridView.SelectedGridEntry is not null) 252PropertyGridView.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)
412GridEntry? gridEntry = owner.SelectedGridEntry; 422=> !this.TryGetOwnerAs(out PropertyGridView? owner) ? null : owner.SelectedGridEntry?.AccessibilityObject;