20 references to GetValueOwner
System.Windows.Forms (20)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ArrayElementGridEntry.cs (2)
29object? owner = GetValueOwner(); 35object? owner = GetValueOwner();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (6)
167=> GetValueOwner() is IComponent component ? component : _parent?.Component; 610public object? Instance => GetValueOwner() ?? _parent?.Instance; 1153object? owner = GetValueOwner(); 1955object? owner = GetValueOwner(); 1972object? owner = GetValueOwner(); 2151=> entry.SendNotification(entry.GetValueOwner(), notification);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\ImmutablePropertyDescriptorGridEntry.cs (1)
39object? owner = GetValueOwner();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (3)
202object? owner = entry.GetValueOwner(); 205while (entry is not PropertyDescriptorGridEntry || OwnersEqual(owner, entry.GetValueOwner())) 220owner = entry.GetValueOwner();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (7)
62object? owner = GetValueOwner(); 195object? value = GetPropertyValue(GetValueOwner()); 222SetPropertyValue(GetValueOwner(), value, reset: false, undoText: null); 364object? owner = entry.GetValueOwner(); 371|| isValueType ? owner!.Equals(entry.GetValueOwner()) : owner == entry.GetValueOwner()) 383owner = entry.GetValueOwner();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2200if (_selectedGridEntry is not null && _selectedGridEntry.GetValueOwner() is not null)