15 implementations of ICustomTypeDescriptor
System.ComponentModel.TypeConverter (5)
System\ComponentModel\CustomTypeDescriptor.cs (1)
8
public abstract class CustomTypeDescriptor :
ICustomTypeDescriptor
System\ComponentModel\TypeDescriptor.cs (4)
2797
private sealed class ComNativeTypeDescriptor :
ICustomTypeDescriptor
3075
private sealed class MergedTypeDescriptor :
ICustomTypeDescriptor
3416
private readonly struct DefaultExtendedTypeDescriptor :
ICustomTypeDescriptor
3773
private readonly struct DefaultTypeDescriptor :
ICustomTypeDescriptor
System.Data.Common (5)
System\Data\Common\DataRecordInternal.cs (1)
11
internal sealed class DataRecordInternal : DbDataRecord,
ICustomTypeDescriptor
System\Data\Common\DbConnectionStringBuilder.cs (1)
25
public class DbConnectionStringBuilder : IDictionary,
ICustomTypeDescriptor
System\Data\Common\DbDataRecord.cs (1)
9
public abstract class DbDataRecord :
ICustomTypeDescriptor
, IDataRecord
System\Data\DataRowView.cs (1)
9
public class DataRowView :
ICustomTypeDescriptor
, IEditableObject, IDataErrorInfo, INotifyPropertyChanged
System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
9
internal sealed class DataViewManagerListItemTypeDescriptor :
ICustomTypeDescriptor
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (1)
27
public abstract unsafe partial class AxHost : Control, ISupportInitialize,
ICustomTypeDescriptor
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (1)
16
private sealed unsafe class ComTypeDescriptor :
ICustomTypeDescriptor
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (1)
16
private sealed class NullTypeDescriptor :
ICustomTypeDescriptor
System.Windows.Forms.Design (2)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1126
private class SelectionWrapper : PropertyDescriptor,
ICustomTypeDescriptor
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1195
internal class ListBoxItem :
ICustomTypeDescriptor
, IComponent
287 references to ICustomTypeDescriptor
netstandard (1)
netstandard.cs (1)
330
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
ICustomTypeDescriptor
))]
PresentationFramework (2)
MS\Internal\Data\ValueTable.cs (1)
216
if (item is
ICustomTypeDescriptor
)
System\Windows\PropertyPath.cs (1)
597
if (accessor == null && item is
ICustomTypeDescriptor
)
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
316
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
ICustomTypeDescriptor
))]
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptionProvider.cs (2)
59
public override
ICustomTypeDescriptor
GetTypeDescriptor([DynamicallyAccessedMembers(AllMembersAndInterfaces)] Type objectType, object? instance)
61
ICustomTypeDescriptor
? baseDescriptor = base.GetTypeDescriptor(objectType, instance);
System\ComponentModel\DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
20
ICustomTypeDescriptor
? parent,
System.ComponentModel.TypeConverter (134)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (2)
20
public override
ICustomTypeDescriptor
GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type type, object? instance)
28
public XTypeDescriptor(
ICustomTypeDescriptor
? parent) : base(parent)
System\ComponentModel\CustomTypeDescriptor.cs (5)
10
private readonly
ICustomTypeDescriptor
? _parent;
34
protected CustomTypeDescriptor(
ICustomTypeDescriptor
? parent)
272
/// <see cref="
ICustomTypeDescriptor
.GetConverterFromRegisteredType()"/>,
273
/// <see cref="
ICustomTypeDescriptor
.GetEventsFromRegisteredType()"/>, and
274
/// <see cref="
ICustomTypeDescriptor
.GetPropertiesFromRegisteredType()"/>.
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (3)
84
public override
ICustomTypeDescriptor
GetExtendedTypeDescriptor(object instance)
117
public override
ICustomTypeDescriptor
? GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
128
public override
ICustomTypeDescriptor
? GetTypeDescriptorFromRegisteredType(Type objectType, object? instance) => Provider.GetTypeDescriptorFromRegisteredType(objectType, instance);
System\ComponentModel\ICustomTypeDescriptor.cs (3)
154
/// <see cref="
ICustomTypeDescriptor
.GetConverterFromRegisteredType()"/>,
155
/// <see cref="
ICustomTypeDescriptor
.GetEventsFromRegisteredType()"/>, and
156
/// <see cref="
ICustomTypeDescriptor
.GetPropertiesFromRegisteredType()"/>.
System\ComponentModel\PropertyDescriptor.cs (1)
370
if (target is
ICustomTypeDescriptor
td)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (3)
819
public override
ICustomTypeDescriptor
GetExtendedTypeDescriptor(object instance)
825
public override
ICustomTypeDescriptor
? GetTypeDescriptorFromRegisteredType(Type objectType, object? instance)
1030
public override
ICustomTypeDescriptor
GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
System\ComponentModel\TypeDescriptionProvider.cs (9)
108
public virtual
ICustomTypeDescriptor
GetExtendedTypeDescriptor(object instance)
132
public virtual
ICustomTypeDescriptor
GetExtendedTypeDescriptorFromRegisteredType(object instance)
252
public
ICustomTypeDescriptor
? GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType)
266
public
ICustomTypeDescriptor
? GetTypeDescriptor(object instance)
287
public virtual
ICustomTypeDescriptor
? GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
305
public
ICustomTypeDescriptor
? GetTypeDescriptorFromRegisteredType(Type objectType)
325
public
ICustomTypeDescriptor
? GetTypeDescriptorFromRegisteredType(object instance)
356
public virtual
ICustomTypeDescriptor
? GetTypeDescriptorFromRegisteredType(Type objectType, object? instance)
369
ICustomTypeDescriptor
? Forward() => GetTypeDescriptor(objectType, instance);
System\ComponentModel\TypeDescriptor.cs (108)
738
ICustomTypeDescriptor
typeDesc = GetDescriptor(component, noCustomTypeDesc)!;
751
if (component is
ICustomTypeDescriptor
)
755
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
773
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
1008
internal static
ICustomTypeDescriptor
? GetDescriptor(object component, bool noCustomTypeDesc)
1015
ICustomTypeDescriptor
? desc = NodeFor(component).GetTypeDescriptor(component);
1016
ICustomTypeDescriptor
? d = component as
ICustomTypeDescriptor
;
1025
internal static
ICustomTypeDescriptor
? GetDescriptorFromRegisteredType(object component)
1027
ICustomTypeDescriptor
? desc = NodeFor(component).GetTypeDescriptorFromRegisteredType(component);
1028
ICustomTypeDescriptor
? d = component as
ICustomTypeDescriptor
;
1041
internal static
ICustomTypeDescriptor
GetExtendedDescriptor(object component)
1051
internal static
ICustomTypeDescriptor
GetExtendedDescriptorFromRegisteredType(object component)
1213
ICustomTypeDescriptor
typeDesc = GetDescriptor(component, noCustomTypeDesc)!;
1226
if (component is
ICustomTypeDescriptor
)
1231
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
1249
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
1470
ICustomTypeDescriptor
typeDesc = GetDescriptor(component, noCustomTypeDesc)!;
1483
if (component is
ICustomTypeDescriptor
)
1488
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
1506
ICustomTypeDescriptor
extDesc = GetExtendedDescriptor(component);
1563
ICustomTypeDescriptor
typeDesc = GetDescriptorFromRegisteredType(component)!;
1566
if (component is
ICustomTypeDescriptor
)
1576
ICustomTypeDescriptor
extDesc = GetExtendedDescriptorFromRegisteredType(component);
2776
public override
ICustomTypeDescriptor
? GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
2813
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => _handler.GetAttributes(_instance);
2815
string
ICustomTypeDescriptor
.GetClassName() => _handler.GetClassName(_instance);
2817
string?
ICustomTypeDescriptor
.GetComponentName() => null;
2820
TypeConverter
ICustomTypeDescriptor
.GetConverter() => _handler.GetConverter(_instance);
2823
EventDescriptor
ICustomTypeDescriptor
.GetDefaultEvent()
2829
PropertyDescriptor
ICustomTypeDescriptor
.GetDefaultProperty()
2835
object
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
2840
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
2846
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
2852
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
2858
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes)
2863
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => _instance;
2887
public override
ICustomTypeDescriptor
GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
2903
internal AttributeTypeDescriptor(Attribute[] attrs,
ICustomTypeDescriptor
? parent) : base(parent)
3063
public override
ICustomTypeDescriptor
? GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
3077
private readonly
ICustomTypeDescriptor
_primary;
3078
private readonly
ICustomTypeDescriptor
_secondary;
3083
internal MergedTypeDescriptor(
ICustomTypeDescriptor
primary,
ICustomTypeDescriptor
secondary)
3092
AttributeCollection
ICustomTypeDescriptor
.GetAttributes()
3103
string
ICustomTypeDescriptor
.GetClassName()
3114
string?
ICustomTypeDescriptor
.GetComponentName()
3123
TypeConverter
ICustomTypeDescriptor
.GetConverter()
3135
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent()
3144
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty()
3153
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
3165
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
3177
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
3189
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
3201
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes)
3214
object?
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd)
3283
public override
ICustomTypeDescriptor
GetExtendedTypeDescriptor(object instance)
3295
public override
ICustomTypeDescriptor
GetExtendedTypeDescriptorFromRegisteredType(object instance)
3357
public override
ICustomTypeDescriptor
GetTypeDescriptor([DynamicallyAccessedMembers(TypeDescriptor.AllMembersAndInterfaces)] Type objectType, object? instance)
3373
public override
ICustomTypeDescriptor
GetTypeDescriptorFromRegisteredType(Type objectType, object? instance)
3391
ICustomTypeDescriptor
Forward() => GetTypeDescriptor(objectType, instance);
3435
AttributeCollection
ICustomTypeDescriptor
.GetAttributes()
3447
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3458
string?
ICustomTypeDescriptor
.GetClassName()
3470
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3480
string?
ICustomTypeDescriptor
.GetComponentName()
3492
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3501
TypeConverter
ICustomTypeDescriptor
.GetConverter()
3513
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3523
TypeConverter
ICustomTypeDescriptor
.GetConverterFromRegisteredType()
3535
ICustomTypeDescriptor
? desc = p.GetTypeDescriptorFromRegisteredType(_instance);
3546
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent()
3558
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3567
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty()
3578
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3587
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
3600
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3609
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
3620
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3630
EventDescriptorCollection
ICustomTypeDescriptor
.GetEventsFromRegisteredType()
3641
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptorFromRegisteredType(_instance);
3652
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
3668
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3679
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
3690
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3700
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetPropertiesFromRegisteredType()
3711
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptorFromRegisteredType(_instance);
3722
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes)
3738
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3749
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd)
3762
ICustomTypeDescriptor
desc = p.GetExtendedTypeDescriptor(_instance);
3809
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3836
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3848
string?
ICustomTypeDescriptor
.GetComponentName()
3861
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3887
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3914
ICustomTypeDescriptor
? desc = p.GetTypeDescriptorFromRegisteredType(_objectType, _instance);
3942
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3968
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
3996
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
4021
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
4048
ICustomTypeDescriptor
? desc = p.GetTypeDescriptorFromRegisteredType(_objectType, _instance);
4076
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
4104
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
4132
ICustomTypeDescriptor
? desc = p.GetTypeDescriptorFromRegisteredType(_objectType, _instance);
4162
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
4189
ICustomTypeDescriptor
? desc = p.GetTypeDescriptor(_objectType, _instance);
System.Data.Common (63)
System\Data\Common\DataRecordInternal.cs (13)
305
AttributeCollection
ICustomTypeDescriptor
.GetAttributes()
310
string?
ICustomTypeDescriptor
.GetClassName()
315
string?
ICustomTypeDescriptor
.GetComponentName()
321
TypeConverter?
ICustomTypeDescriptor
.GetConverter()
327
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent()
333
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty()
339
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
344
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
350
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
356
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
358
return ((
ICustomTypeDescriptor
)this).GetProperties(null);
362
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) =>
365
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd)
System\Data\Common\DbConnectionStringBuilder.cs (12)
592
string?
ICustomTypeDescriptor
.GetClassName()
601
string?
ICustomTypeDescriptor
.GetComponentName()
610
AttributeCollection
ICustomTypeDescriptor
.GetAttributes()
615
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
620
TypeConverter
ICustomTypeDescriptor
.GetConverter()
625
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty()
630
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
635
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes)
640
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent()
646
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
654
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
658
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd)
System\Data\Common\DbDataRecord.cs (13)
73
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => new AttributeCollection(null);
75
string?
ICustomTypeDescriptor
.GetClassName() => null;
77
string?
ICustomTypeDescriptor
.GetComponentName() => null;
80
TypeConverter?
ICustomTypeDescriptor
.GetConverter() => null;
83
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
86
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => null;
89
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => null;
91
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => new EventDescriptorCollection(null);
94
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
97
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() =>
98
((
ICustomTypeDescriptor
)this).GetProperties(null);
101
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) =>
104
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Data\DataRowView.cs (13)
232
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => new AttributeCollection(null);
233
string?
ICustomTypeDescriptor
.GetClassName() => null;
234
string?
ICustomTypeDescriptor
.GetComponentName() => null;
237
TypeConverter?
ICustomTypeDescriptor
.GetConverter() => null;
240
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
243
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => null;
246
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => null;
248
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => new EventDescriptorCollection(null);
251
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) => new EventDescriptorCollection(null);
254
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() => ((
ICustomTypeDescriptor
)this).GetProperties(null);
257
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) =>
260
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Data\DataViewManagerListItemTypeDescriptor.cs (12)
34
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => new AttributeCollection(null);
40
string?
ICustomTypeDescriptor
.GetClassName() => null;
46
string?
ICustomTypeDescriptor
.GetComponentName() => null;
52
TypeConverter?
ICustomTypeDescriptor
.GetConverter() => null;
58
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
64
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => null;
70
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => null;
78
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => new EventDescriptorCollection(null);
88
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) =>
98
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() =>
109
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) =>
139
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => this;
System.Private.Windows.Core.TestUtilities (2)
CustomConverter.cs (2)
50
public override
ICustomTypeDescriptor
GetTypeDescriptor(
58
public TypeConverterProvider(
ICustomTypeDescriptor
? parent, TypeConverter converter) : base(parent)
System.Windows.Forms (56)
System\Windows\Forms\ActiveX\AxHost.cs (12)
2426
AttributeCollection
ICustomTypeDescriptor
.GetAttributes()
2442
string?
ICustomTypeDescriptor
.GetClassName()
2452
string?
ICustomTypeDescriptor
.GetComponentName()
2462
TypeConverter?
ICustomTypeDescriptor
.GetConverter()
2469
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent()
2476
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty()
2486
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType)
2497
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
2502
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes)
2687
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties()
2694
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes)
2700
object?
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd)
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
500
PropertyDescriptorCollection props = ((
ICustomTypeDescriptor
)_host).GetProperties();
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
44
if (target is
ICustomTypeDescriptor
customTypeDescriptor)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (4)
445
if (component is
ICustomTypeDescriptor
descriptor)
608
if (component is
ICustomTypeDescriptor
descriptor)
793
if (component is
ICustomTypeDescriptor
descriptor)
827
if (owner is
ICustomTypeDescriptor
descriptor)
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (1)
42
if (instance is
ICustomTypeDescriptor
customTypeDescriptor)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.ComTypeDescriptor.cs (13)
13
/// The <see cref="
ICustomTypeDescriptor
"/> given by <see cref="ComNativeDescriptor"/> for a given type instance.
27
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => GetAttributes(_instance);
29
string?
ICustomTypeDescriptor
.GetClassName() => GetClassName(_instance);
31
string?
ICustomTypeDescriptor
.GetComponentName()
38
TypeConverter
ICustomTypeDescriptor
.GetConverter() => GetIComponentConverter();
41
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
44
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => _handler.GetDefaultProperty(_instance);
47
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => GetEditor(_instance, editorBaseType);
49
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => new(null);
52
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) => new(null);
55
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() => _handler.GetProperties(_instance);
58
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) => _handler.GetProperties(_instance);
60
object?
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => _instance;
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
65
public override
ICustomTypeDescriptor
? GetTypeDescriptor(
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.NullTypeDescriptor.cs (12)
18
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => new(s_staticAttributes);
19
string?
ICustomTypeDescriptor
.GetClassName() => string.Empty;
20
string?
ICustomTypeDescriptor
.GetComponentName() => string.Empty;
22
TypeConverter?
ICustomTypeDescriptor
.GetConverter() => GetIComponentConverter();
24
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
26
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => null;
28
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => null;
29
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => EventDescriptorCollection.Empty;
31
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty;
33
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() => PropertyDescriptorCollection.Empty;
35
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) => PropertyDescriptorCollection.Empty;
36
object?
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => null;
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (3)
957
if (newObject is
ICustomTypeDescriptor
descriptor)
1052
if (currentObject is
ICustomTypeDescriptor
descriptor)
2226
return @object is
ICustomTypeDescriptor
descriptor
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
1362
if (value is
ICustomTypeDescriptor
descriptor)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
183
if (propertyOwner is
ICustomTypeDescriptor
descriptor)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
258
if (owner is
ICustomTypeDescriptor
descriptor)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (3)
334
if (owner is
ICustomTypeDescriptor
descriptor)
400
if (owner is
ICustomTypeDescriptor
descriptor)
728
if (realOwner is
ICustomTypeDescriptor
descriptor)
System\Windows\Forms\DataBinding\ListBindingHelper.cs (2)
296
if (dmProp is null || dmProp.PropertyType is
ICustomTypeDescriptor
)
590
if (indexer is not null && !typeof(
ICustomTypeDescriptor
).IsAssignableFrom(indexer.PropertyType))
System.Windows.Forms.Design (25)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (12)
1240
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => TypeDescriptor.GetAttributes(PropertyType);
1245
string
ICustomTypeDescriptor
.GetClassName() => PropertyType.Name;
1250
string?
ICustomTypeDescriptor
.GetComponentName() => null;
1256
TypeConverter?
ICustomTypeDescriptor
.GetConverter() => null;
1261
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => null;
1266
PropertyDescriptor
ICustomTypeDescriptor
.GetDefaultProperty() => this;
1272
object?
ICustomTypeDescriptor
.GetEditor(Type editorBaseType) => null;
1279
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents()
1290
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attributes) => EventDescriptorCollection.Empty;
1298
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() => _properties;
1307
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attributes) => _properties;
1315
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) => this;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (13)
1236
AttributeCollection
ICustomTypeDescriptor
.GetAttributes() => TypeDescriptor.GetAttributes(DataGridViewColumn);
1238
string?
ICustomTypeDescriptor
.GetClassName() => TypeDescriptor.GetClassName(DataGridViewColumn);
1240
string?
ICustomTypeDescriptor
.GetComponentName() => TypeDescriptor.GetComponentName(DataGridViewColumn);
1243
TypeConverter
ICustomTypeDescriptor
.GetConverter() => TypeDescriptor.GetConverter(DataGridViewColumn);
1245
EventDescriptor?
ICustomTypeDescriptor
.GetDefaultEvent() => TypeDescriptor.GetDefaultEvent(DataGridViewColumn);
1247
PropertyDescriptor?
ICustomTypeDescriptor
.GetDefaultProperty() => TypeDescriptor.GetDefaultProperty(DataGridViewColumn);
1250
object?
ICustomTypeDescriptor
.GetEditor(Type type) => TypeDescriptor.GetEditor(DataGridViewColumn, type);
1252
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents() => TypeDescriptor.GetEvents(DataGridViewColumn);
1254
EventDescriptorCollection
ICustomTypeDescriptor
.GetEvents(Attribute[]? attrs) => TypeDescriptor.GetEvents(DataGridViewColumn, attrs!);
1257
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties() => ((
ICustomTypeDescriptor
)this).GetProperties(null);
1260
PropertyDescriptorCollection
ICustomTypeDescriptor
.GetProperties(Attribute[]? attrs)
1297
object
ICustomTypeDescriptor
.GetPropertyOwner(PropertyDescriptor? pd) =>