17 implementations of GetPropertyOwner
System.ComponentModel.TypeConverter (5)
System\ComponentModel\CustomTypeDescriptor.cs (1)
262public virtual object? GetPropertyOwner(PropertyDescriptor? pd) => _parent?.GetPropertyOwner(pd);
System\ComponentModel\TypeDescriptor.cs (4)
2865object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => _instance; 3212object? ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) 3747object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) 4174public object? GetPropertyOwner(PropertyDescriptor? pd)
System.Data.Common (5)
System\Data\Common\DataRecordInternal.cs (1)
365object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd)
System\Data\Common\DbConnectionStringBuilder.cs (1)
655object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd)
System\Data\Common\DbDataRecord.cs (1)
104object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Data\DataRowView.cs (1)
260object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
139object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => this;
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2703object? ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (1)
60object? ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => _instance;
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (1)
36object? ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => null;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1307object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1303object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor? pd) =>
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (1)
136public object? GetPropertyOwner(PropertyDescriptor? pd) => _propertyOwner;
System\Windows\Forms\ListBindingHelperTests.cs (1)
901public object GetPropertyOwner(PropertyDescriptor pd)
25 references to GetPropertyOwner
System.ComponentModel.TypeConverter (6)
System\ComponentModel\CustomTypeDescriptor.cs (1)
262public virtual object? GetPropertyOwner(PropertyDescriptor? pd) => _parent?.GetPropertyOwner(pd);
System\ComponentModel\PropertyDescriptor.cs (1)
372target = td.GetPropertyOwner(this);
System\ComponentModel\TypeDescriptor.cs (4)
3214return _primary.GetPropertyOwner(pd) ?? _secondary.GetPropertyOwner(pd); 3762object owner = desc.GetPropertyOwner(pd) ?? _instance; 4190owner = desc.GetPropertyOwner(pd) ?? _instance;
System.Windows.Forms (15)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
46target = customTypeDescriptor.GetPropertyOwner(_propDesc);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (4)
447object? owner = descriptor.GetPropertyOwner(this); 610component = descriptor.GetPropertyOwner(this); 795component = descriptor.GetPropertyOwner(this); 829owner = descriptor.GetPropertyOwner(this);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
44instance = customTypeDescriptor.GetPropertyOwner(_propertyDescriptor);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
960newObject = descriptor.GetPropertyOwner(pd: null)!; 1055currentObject = descriptor.GetPropertyOwner(pd: null)!; 2235? descriptor.GetPropertyOwner(pd: null)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1373owner = descriptor.GetPropertyOwner(property);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
185propertyOwner = descriptor.GetPropertyOwner(_descriptors[i]);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
260owner = descriptor.GetPropertyOwner(PropertyDescriptor);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
336owner = descriptor.GetPropertyOwner(PropertyDescriptor); 402owner = descriptor.GetPropertyOwner(PropertyDescriptor); 730realOwner = descriptor.GetPropertyOwner(PropertyDescriptor);
System.Windows.Forms.Tests (4)
System\Windows\Forms\AxHostTests.cs (4)
3040Assert.Same(control, customTypeDescriptor.GetPropertyOwner(pd)); 3044Assert.Same(control, customTypeDescriptor.GetPropertyOwner(pd)); 3062Assert.Same(control, customTypeDescriptor.GetPropertyOwner(pd)); 3069Assert.Same(control, customTypeDescriptor.GetPropertyOwner(pd));