23 overrides of ComponentType
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
30public override Type ComponentType { get { return _descriptor.ComponentType; } }
System.ComponentModel.TypeConverter (6)
MS\Internal\Xml\Linq\ComponentModel\XComponentModel.cs (1)
72public override Type ComponentType
System\ComponentModel\Design\DesignerOptionService.cs (2)
414public override Type ComponentType => _property.ComponentType; 478public override Type ComponentType => _option.GetType();
System\ComponentModel\ExtendedPropertyDescriptor.cs (1)
73public override Type ComponentType => _extenderInfo.ComponentType;
System\ComponentModel\ReflectPropertyDescriptor.cs (1)
286public override Type ComponentType => _componentClass;
System\ComponentModel\TypeConverter.cs (1)
365public override Type ComponentType { get; }
System.Data.Common (5)
System\Data\Common\DbConnectionStringBuilderDescriptor.cs (1)
18public override Type ComponentType { get; }
System\Data\Common\DbEnumerator.cs (1)
123public override Type ComponentType => typeof(IDataRecord);
System\Data\DataColumnPropertyDescriptor.cs (1)
40public override Type ComponentType => typeof(DataRowView);
System\Data\DataRelationPropertyDescriptor.cs (1)
18public override Type ComponentType => typeof(DataRowView);
System\Data\DataTablePropertyDescriptor.cs (1)
18public override Type ComponentType => typeof(DataRowView);
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
67public override Type ComponentType
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
281public sealed override Type ComponentType => typeof(IDispatch.Interface);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
28public override Type ComponentType => _descriptors[0].ComponentType;
System.Windows.Forms.Design (6)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
1178public override Type ComponentType { get; }
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
46public override Type ComponentType => Event.ComponentType;
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
112public override Type ComponentType => _propertyDescriptor.ComponentType;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1005public override Type ComponentType
System\Windows\Forms\Design\ControlDesigner.CanResetSizePropertyDescriptor.cs (1)
18public override Type ComponentType => _basePropDesc.ComponentType;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
1353public override Type ComponentType => typeof(ListBoxItem);
System.Windows.Forms.Tests (2)
System\Windows\Forms\ListBindingHelperTests.cs (1)
746public override Type ComponentType => throw new NotImplementedException();
System\Windows\Forms\PropertyGridInternal\AccessibleObjects\PropertyDescriptorGridEntry.PropertyDescriptorGridEntryAccessibleObjectTests.cs (1)
146public override Type ComponentType => throw new NotImplementedException();
36 references to ComponentType
PresentationFramework (4)
MS\Internal\Data\PropertyPathWorker.cs (2)
707: (oldPD != null) ? oldPD.ComponentType 879: (newPD != null) ? newPD.ComponentType
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
878typeof(FrameworkTemplate).IsAssignableFrom(descriptor.ComponentType) &&
System\Windows\PropertyPathConverter.cs (1)
224type = pd.ComponentType;
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MetadataPropertyDescriptorWrapper.cs (1)
30public override Type ComponentType { get { return _descriptor.ComponentType; } }
System.ComponentModel.TypeConverter (5)
System\ComponentModel\Design\DesignerOptionService.cs (1)
414public override Type ComponentType => _property.ComponentType;
System\ComponentModel\PropertyDescriptor.cs (3)
398if (ComponentType != null) 401(ComponentType.Assembly.FullName!.Equals(typeFromGetType.Assembly.FullName))) 408typeFromComponent = ComponentType.Assembly.GetType(typeName);
System\ComponentModel\TypeDescriptor.cs (1)
537if (componentType == oldPropertyDescriptor.ComponentType)
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
452reflected.ComponentType, reflected.PropertyType, reflected.IsReadOnly, attributes);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
2323markupProp.PropertyDescriptor.ComponentType == typeof(ItemsControl))
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (1)
71return _baseDescriptor.ComponentType;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
28public override Type ComponentType => _descriptors[0].ComponentType;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (2)
96Type? componentType = PropertyDescriptor.ComponentType; 111componentType = componentProperty?.ComponentType;
System\Windows\Forms\Design\EventsTab.cs (1)
156matchingPropertyEvents.Add(TypeDescriptor.CreateProperty(property.ComponentType, property, MergablePropertyAttribute.No));
System.Windows.Forms.Design (8)
System\ComponentModel\Design\ComponentDesigner.cs (1)
668properties[prop.Name] = TypeDescriptor.CreateProperty(prop.ComponentType, prop, ReadOnlyAttribute.Yes);
System\ComponentModel\Design\DesignerActionPanel.cs (1)
414return (propertyDescriptor.ComponentType.GetProperty(propertyDescriptor.Name)!.GetSetMethod() is null);
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
112public override Type ComponentType => _propertyDescriptor.ComponentType;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
1007get => _property.ComponentType;
System\Windows\Forms\Design\ControlDesigner.CanResetSizePropertyDescriptor.cs (1)
18public override Type ComponentType => _basePropDesc.ComponentType;
System\Windows\Forms\Design\DocumentDesigner.cs (1)
1316properties[noBrowseProps[i]] = TypeDescriptor.CreateProperty(prop.ComponentType, prop, BrowsableAttribute.No, DesignerSerializationVisibilityAttribute.Hidden);
System\Windows\Forms\Design\SplitterPanelDesigner.cs (1)
233properties[de.Key] = TypeDescriptor.CreateProperty(descriptor.ComponentType, descriptor, BrowsableAttribute.No, DesignerSerializationVisibilityAttribute.Hidden);
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (1)
565properties[noBrowseProps[i]] = TypeDescriptor.CreateProperty(propertyDescriptor.ComponentType, propertyDescriptor, BrowsableAttribute.No, DesignerSerializationVisibilityAttribute.Hidden);
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\ComponentDesignerTests.cs (4)
2316Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2336Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2746Assert.Equal(typeof(ComponentDesigner), result.ComponentType); 2767Assert.Equal(typeof(ComponentDesigner), result.ComponentType);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
212Assert.Equal(typeof(PropertyProvider), property.ComponentType);
System.Windows.Forms.Tests (6)
System\Windows\Forms\AxHost.AxPropertyDescriptorTests.cs (1)
126Assert.Equal(typeof(CustomAxHost), property.ComponentType);
System\Windows\Forms\AxSystemMonitorTests.cs (1)
42string assemblyFromTestingControl = prop.ComponentType.Assembly.GetName().Name;
System\Windows\Forms\AxWebBrowserTests.cs (1)
41.Where(prop => prop.ComponentType.Assembly.GetName().Name == assemblyNameFromType)
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (3)
52Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", handleProperty.ComponentType.FullName); 70Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", typeProperty.ComponentType.FullName); 135Assert.Equal("Windows.Win32.System.Com.IDispatch+Interface", urlProperty.ComponentType.FullName);