17 implementations of GetDefaultProperty
System.ComponentModel.TypeConverter (5)
System\ComponentModel\CustomTypeDescriptor.cs (1)
125public virtual PropertyDescriptor? GetDefaultProperty() => _parent?.GetDefaultProperty();
System\ComponentModel\TypeDescriptor.cs (4)
2831PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 3142PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() 3565PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() 3953public PropertyDescriptor? GetDefaultProperty()
System.Data.Common (5)
System\Data\Common\DataRecordInternal.cs (1)
333PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty()
System\Data\Common\DbConnectionStringBuilder.cs (1)
622PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty()
System\Data\Common\DbDataRecord.cs (1)
86PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => null;
System\Data\DataRowView.cs (1)
243PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => null;
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
64PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => null;
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2479PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty()
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (1)
44PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => _handler.GetDefaultProperty(_instance);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (1)
26PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => null;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1258PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() => this;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1253PropertyDescriptor? ICustomTypeDescriptor.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(DataGridViewColumn);
System.Windows.Forms.Tests (2)
System\Windows\Forms\ComponentModel\Com2Interop\COM2FontConverterTests.cs (1)
124public PropertyDescriptor? GetDefaultProperty() => throw new NotImplementedException();
System\Windows\Forms\ListBindingHelperTests.cs (1)
827public PropertyDescriptor GetDefaultProperty()
10 references to GetDefaultProperty
System.ComponentModel.TypeConverter (6)
System\ComponentModel\CustomTypeDescriptor.cs (1)
125public virtual PropertyDescriptor? GetDefaultProperty() => _parent?.GetDefaultProperty();
System\ComponentModel\TypeDescriptor.cs (5)
962return GetDescriptor(component, noCustomTypeDesc)!.GetDefaultProperty(); 3144return _primary.GetDefaultProperty() ?? _secondary.GetDefaultProperty(); 3578return desc.GetDefaultProperty(); 3969defaultProperty = desc.GetDefaultProperty();
System.Windows.Forms.Tests (4)
System\Windows\Forms\AxHostTests.cs (4)
2539PropertyDescriptor propertyDescriptor = customTypeDescriptor.GetDefaultProperty(); 2544propertyDescriptor = customTypeDescriptor.GetDefaultProperty(); 2562PropertyDescriptor propertyDescriptor = customTypeDescriptor.GetDefaultProperty(); 2570propertyDescriptor = customTypeDescriptor.GetDefaultProperty();