31 references to ParentGridEntry
System.Windows.Forms (31)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (3)
19public override bool IsValueEditable => ParentGridEntry?.IsValueEditable ?? false; 23public override Type? PropertyType => ParentGridEntry?.PropertyType?.GetElementType(); 41public override bool ShouldRenderReadOnly => ParentGridEntry?.ShouldRenderReadOnly ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CategoryGridEntry.cs (6)
98internal override object? GetValueOwnerInternal() => ParentGridEntry?.GetValueOwnerInternal(); 134if (ParentGridEntry is not null && ParentGridEntry.GetChildIndex(this) > 0) 151if (ParentGridEntry is not null && ParentGridEntry.GetChildIndex(this) > 0) 159=> ParentGridEntry?.SendNotification(entry, notification) ?? false;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (4)
712return ParentGridEntry; 1142return entry.ParentGridEntry == ParentGridEntry; 2154/// Sends a notification to the owner of the <see cref="ParentGridEntry"/> if it exists.
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
329if (this.TryGetOwnerAs(out GridEntry? owner) && owner.ParentGridEntry is { } parentGridEntry) 392if (owner.ParentGridEntry is SingleSelectRootGridEntry)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (3)
97=> ParentGridEntry?.SendNotificationToParent(notification) ?? false; 105GridEntry? parent = ParentGridEntry; 109parent = parent.ParentGridEntry;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
207entry = entry.ParentGridEntry;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (6)
79while (entry.ParentGridEntry is not null) 81entry = entry.ParentGridEntry; 373entry = entry.ParentGridEntry; 738if (ParentGridEntry is not null) 740Type? propertyType = ParentGridEntry.PropertyType; 758GridEntry? parent = ParentGridEntry;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObject.cs (2)
313if (owner.ParentGridEntry?.AccessibilityObject is PropertyDescriptorGridEntryAccessibleObject parent) 334if (owner.ParentGridEntry?.AccessibilityObject is PropertyDescriptorGridEntryAccessibleObject parent)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (4)
1792gridEntry = gridEntry.ParentGridEntry; 4504for (GridEntry? currentEntry = selectedEntry; currentEntry is not null; currentEntry = currentEntry.ParentGridEntry) 5096temp = temp.ParentGridEntry; 5115UpdateHelpAttributes(helpService, entry.ParentGridEntry, false);