35 implementations of ICustomTypeDescriptor
System (5)
compmod\system\componentmodel\CustomTypeDescriptor.cs (1)
16public abstract class CustomTypeDescriptor : ICustomTypeDescriptor
compmod\system\componentmodel\TypeDescriptor.cs (4)
3495private sealed class ComNativeTypeDescriptor : ICustomTypeDescriptor 3693private sealed class MergedTypeDescriptor : ICustomTypeDescriptor 4052private struct DefaultExtendedTypeDescriptor : ICustomTypeDescriptor 4353private struct DefaultTypeDescriptor : ICustomTypeDescriptor
System.Activities (3)
System\Activities\DynamicActivity.cs (2)
20public sealed class DynamicActivity : Activity, ICustomTypeDescriptor, IDynamicActivity 208public sealed class DynamicActivity<TResult> : Activity<TResult>, ICustomTypeDescriptor, IDynamicActivity
System\Activities\DynamicActivityTypeDescriptor.cs (1)
14class DynamicActivityTypeDescriptor : ICustomTypeDescriptor
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
704private struct MetadataStoreTypeDescriptor : ICustomTypeDescriptor
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
55abstract class DesignObjectWrapper : ICustomTypeDescriptor, INotifyPropertyChanged, IDisposable
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
21internal class ModelItemDictionaryImpl : ModelItemDictionary, IModelTreeItem, ICustomTypeDescriptor
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
25class ModelItemImpl : ModelItem, IModelTreeItem, ICustomTypeDescriptor, IDynamicMetaObjectProvider
System.Data (9)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
704private struct MetadataStoreTypeDescriptor : ICustomTypeDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
55abstract class DesignObjectWrapper : ICustomTypeDescriptor, INotifyPropertyChanged, IDisposable
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (1)
21internal class ModelItemDictionaryImpl : ModelItemDictionary, IModelTreeItem, ICustomTypeDescriptor
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (1)
25class ModelItemImpl : ModelItem, IModelTreeItem, ICustomTypeDescriptor, IDynamicMetaObjectProvider
fx\src\data\System\Data\Common\DataRecordInternal.cs (1)
20internal sealed class DataRecordInternal : DbDataRecord, ICustomTypeDescriptor {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (1)
25public class DbConnectionStringBuilder : System.Collections.IDictionary, ICustomTypeDescriptor {
fx\src\data\System\Data\Common\dbdatarecord.cs (1)
13public abstract class DbDataRecord : ICustomTypeDescriptor, IDataRecord {
fx\src\data\System\Data\DataRowView.cs (1)
13public class DataRowView : ICustomTypeDescriptor, System.ComponentModel.IEditableObject, System.ComponentModel.IDataErrorInfo, System.ComponentModel.INotifyPropertyChanged {
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (1)
17internal sealed class DataViewManagerListItemTypeDescriptor : ICustomTypeDescriptor {
System.Data.Entity (1)
System\Data\Common\DataRecord.cs (1)
22internal sealed class MaterializedDataRecord : DbDataRecord, IExtendedDataRecord, ICustomTypeDescriptor
System.Web (6)
UI\WebControls\ErrorStyle.cs (1)
16internal sealed class ErrorStyle : Style, ICustomTypeDescriptor {
UI\WebControls\ErrorTableItemStyle.cs (1)
14internal sealed class ErrorTableItemStyle : TableItemStyle, ICustomTypeDescriptor {
UI\WebControls\SubMenuStyle.cs (1)
17public class SubMenuStyle : Style, ICustomTypeDescriptor {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (1)
26internal sealed class XmlDataSourceNodeDescriptor : ICustomTypeDescriptor, IXPathNavigable {
UI\WebControls\XmlHierarchyData.cs (1)
26internal sealed class XmlHierarchyData : IHierarchyData, ICustomTypeDescriptor {
UI\WebParts\WebPartMenuStyle.cs (1)
20public sealed class WebPartMenuStyle : TableStyle, ICustomTypeDescriptor {
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceWrapper.cs (1)
31internal class EntityDataSourceWrapper : ICustomTypeDescriptor
System.Web.Mobile (1)
UI\MobileControls\Design\PropertyOverridesDialog.cs (1)
625ICustomTypeDescriptor, IDeviceSpecificChoiceDesigner, IComponent
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AxHost.cs (1)
56public abstract class AxHost : Control, ISupportInitialize, ICustomTypeDescriptor {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
466private sealed class ComTypeDescriptor : ICustomTypeDescriptor
System.Workflow.Runtime (1)
System\Activities\Statements\Interop.cs (1)
34public sealed class Interop : NativeActivity, ICustomTypeDescriptor
WindowsBase (2)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (1)
20struct APCustomTypeDescriptor : ICustomTypeDescriptor {
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (1)
20internal struct DPCustomTypeDescriptor : ICustomTypeDescriptor {
530 references to ICustomTypeDescriptor
PresentationFramework (2)
src\Framework\MS\Internal\Data\ValueTable.cs (1)
223if (item is ICustomTypeDescriptor)
src\Framework\System\Windows\PropertyPath.cs (1)
607if (accessor == null && item is ICustomTypeDescriptor)
System (111)
compmod\system\componentmodel\CustomTypeDescriptor.cs (2)
18private ICustomTypeDescriptor _parent; 42protected CustomTypeDescriptor(ICustomTypeDescriptor parent)
compmod\system\componentmodel\DelegatingTypeDescriptionProvider.cs (2)
97public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 129public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance)
compmod\system\componentmodel\PropertyDescriptor.cs (2)
365ICustomTypeDescriptor td = target as ICustomTypeDescriptor;
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (2)
747public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 861public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance)
compmod\system\componentmodel\TypeDescriptionProvider.cs (4)
108public virtual ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 235public ICustomTypeDescriptor GetTypeDescriptor(Type objectType) 248public ICustomTypeDescriptor GetTypeDescriptor(object instance) 272public virtual ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance)
compmod\system\componentmodel\TypeDescriptor.cs (99)
1418ICustomTypeDescriptor typeDesc = GetDescriptor(component, noCustomTypeDesc); 1431if (component is ICustomTypeDescriptor) 1435ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 1453ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 1634internal static ICustomTypeDescriptor GetDescriptor(Type type, string typeName) 1650internal static ICustomTypeDescriptor GetDescriptor(object component, bool noCustomTypeDesc) 1662ICustomTypeDescriptor desc = NodeFor(component).GetTypeDescriptor(component); 1663ICustomTypeDescriptor d = component as ICustomTypeDescriptor; 1675internal static ICustomTypeDescriptor GetExtendedDescriptor(object component) 1818ICustomTypeDescriptor typeDesc = GetDescriptor(component, noCustomTypeDesc); 1831if (component is ICustomTypeDescriptor) 1836ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 1854ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 2048ICustomTypeDescriptor typeDesc = GetDescriptor(component, noCustomTypeDesc); 2061if (component is ICustomTypeDescriptor) 2066ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 2084ICustomTypeDescriptor extDesc = GetExtendedDescriptor(component); 3358public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 3374internal AttributeTypeDescriptor(Attribute[] attrs, ICustomTypeDescriptor parent) : base(parent) 3471public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 3514AttributeCollection ICustomTypeDescriptor.GetAttributes() 3522string ICustomTypeDescriptor.GetClassName() 3530string ICustomTypeDescriptor.GetComponentName() 3538TypeConverter ICustomTypeDescriptor.GetConverter() 3546EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 3554PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 3562object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 3570EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 3578EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 3586PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3594PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 3602object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 3695private ICustomTypeDescriptor _primary; 3696private ICustomTypeDescriptor _secondary; 3701internal MergedTypeDescriptor(ICustomTypeDescriptor primary, ICustomTypeDescriptor secondary) 3710AttributeCollection ICustomTypeDescriptor.GetAttributes() 3725string ICustomTypeDescriptor.GetClassName() 3740string ICustomTypeDescriptor.GetComponentName() 3754TypeConverter ICustomTypeDescriptor.GetConverter() 3769EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 3783PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 3797object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 3816EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 3831EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 3846PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 3861PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 3876object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 3955public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 4024public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 4069AttributeCollection ICustomTypeDescriptor.GetAttributes() 4082ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4092string ICustomTypeDescriptor.GetClassName() 4105ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4115string ICustomTypeDescriptor.GetComponentName() 4128ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4136TypeConverter ICustomTypeDescriptor.GetConverter() 4149ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4159EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 4172ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4180PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 4193ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4201object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 4219ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4227EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 4240ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4250EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 4268ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4278PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 4291ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4301PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 4319ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4329object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 4342ICustomTypeDescriptor desc = p.GetExtendedTypeDescriptor(_instance); 4372AttributeCollection ICustomTypeDescriptor.GetAttributes() 4386ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4398string ICustomTypeDescriptor.GetClassName() 4412ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4424string ICustomTypeDescriptor.GetComponentName() 4438ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4449TypeConverter ICustomTypeDescriptor.GetConverter() 4463ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4475EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 4489ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4500PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 4514ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4525object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 4544ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4555EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 4569ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4581EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 4595ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4607PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 4621ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4633PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 4647ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance); 4659object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 4673ICustomTypeDescriptor desc = p.GetTypeDescriptor(_objectType, _instance);
System.Activities (24)
System\Activities\DynamicActivity.cs (24)
146AttributeCollection ICustomTypeDescriptor.GetAttributes() 151string ICustomTypeDescriptor.GetClassName() 156string ICustomTypeDescriptor.GetComponentName() 161TypeConverter ICustomTypeDescriptor.GetConverter() 166EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 171PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 176object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 181EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 186EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 191PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 196PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 201object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) 334AttributeCollection ICustomTypeDescriptor.GetAttributes() 339string ICustomTypeDescriptor.GetClassName() 344string ICustomTypeDescriptor.GetComponentName() 349TypeConverter ICustomTypeDescriptor.GetConverter() 354EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 359PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 364object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 369EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 374EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 379PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 384PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 389object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\RegisterMetadataDelayedWorker.cs (2)
131public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 155public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance)
System.Activities.Presentation (48)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (16)
631public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 633ICustomTypeDescriptor descriptor = base.GetTypeDescriptor(objectType, instance); 709private ICustomTypeDescriptor _parent; 711internal MetadataStoreTypeDescriptor(MetadataStoreProvider provider, Type objectType, ICustomTypeDescriptor parent) 721string ICustomTypeDescriptor.GetClassName() { return _parent.GetClassName(); } 722string ICustomTypeDescriptor.GetComponentName() { return _parent.GetComponentName(); } 723TypeConverter ICustomTypeDescriptor.GetConverter() { return _parent.GetConverter(); } 724EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { return _parent.GetDefaultEvent(); } 725PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return _parent.GetDefaultProperty(); } 726object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { return _parent.GetEditor(editorBaseType); } 727object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return _parent.GetPropertyOwner(pd); } 732AttributeCollection ICustomTypeDescriptor.GetAttributes() 740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 748EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 756PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 764PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
297return ((ICustomTypeDescriptor)this).GetProperties();
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (12)
1206AttributeCollection ICustomTypeDescriptor.GetAttributes() 1211string ICustomTypeDescriptor.GetClassName() 1216string ICustomTypeDescriptor.GetComponentName() 1221TypeConverter ICustomTypeDescriptor.GetConverter() 1226EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 1232PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1237object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 1243EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 1249EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 1255PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 1260PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 1283object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (12)
329AttributeCollection ICustomTypeDescriptor.GetAttributes() 334string ICustomTypeDescriptor.GetClassName() 339string ICustomTypeDescriptor.GetComponentName() 344TypeConverter ICustomTypeDescriptor.GetConverter() 349EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 355PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 360object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 366EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 372EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 378PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 383PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 410object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
78if (!(instance is ICustomTypeDescriptor))
System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
1193public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 1195ICustomTypeDescriptor defaultDescriptor = base.GetTypeDescriptor(objectType, instance); 1204public DictionaryTypeDescriptor(ICustomTypeDescriptor parent, Type type)
System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
145public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 147ICustomTypeDescriptor defaultDescriptor = base.GetTypeDescriptor(objectType, instance); 157public RootModelTypeDescriptor(ICustomTypeDescriptor parent, object root)
System.ComponentModel.DataAnnotations (5)
DataAnnotations\AssociatedMetadataTypeTypeDescriptionProvider.cs (2)
20public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) { 21ICustomTypeDescriptor baseDescriptor = base.GetTypeDescriptor(objectType, instance);
DataAnnotations\AssociatedMetadataTypeTypeDescriptor.cs (1)
22public AssociatedMetadataTypeTypeDescriptor(ICustomTypeDescriptor parent, Type type, Type associatedMetadataType)
DataAnnotations\CompareAttribute.cs (2)
55ICustomTypeDescriptor typeDescriptor = GetTypeDescriptor(containerType); 73private static ICustomTypeDescriptor GetTypeDescriptor(Type type) {
System.Data (113)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (16)
631public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 633ICustomTypeDescriptor descriptor = base.GetTypeDescriptor(objectType, instance); 709private ICustomTypeDescriptor _parent; 711internal MetadataStoreTypeDescriptor(MetadataStoreProvider provider, Type objectType, ICustomTypeDescriptor parent) 721string ICustomTypeDescriptor.GetClassName() { return _parent.GetClassName(); } 722string ICustomTypeDescriptor.GetComponentName() { return _parent.GetComponentName(); } 723TypeConverter ICustomTypeDescriptor.GetConverter() { return _parent.GetConverter(); } 724EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { return _parent.GetDefaultEvent(); } 725PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return _parent.GetDefaultProperty(); } 726object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { return _parent.GetEditor(editorBaseType); } 727object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return _parent.GetPropertyOwner(pd); } 732AttributeCollection ICustomTypeDescriptor.GetAttributes() 740EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 748EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 756PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 764PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (1)
297return ((ICustomTypeDescriptor)this).GetProperties();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (12)
1206AttributeCollection ICustomTypeDescriptor.GetAttributes() 1211string ICustomTypeDescriptor.GetClassName() 1216string ICustomTypeDescriptor.GetComponentName() 1221TypeConverter ICustomTypeDescriptor.GetConverter() 1226EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 1232PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1237object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 1243EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 1249EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 1255PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 1260PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 1283object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (12)
329AttributeCollection ICustomTypeDescriptor.GetAttributes() 334string ICustomTypeDescriptor.GetClassName() 339string ICustomTypeDescriptor.GetComponentName() 344TypeConverter ICustomTypeDescriptor.GetConverter() 349EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 355PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 360object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 366EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 372EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 378PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 383PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 410object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelPropertyCollectionImpl.cs (1)
78if (!(instance is ICustomTypeDescriptor))
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelTreeManager.cs (3)
1193public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 1195ICustomTypeDescriptor defaultDescriptor = base.GetTypeDescriptor(objectType, instance); 1204public DictionaryTypeDescriptor(ICustomTypeDescriptor parent, Type type)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
145public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 147ICustomTypeDescriptor defaultDescriptor = base.GetTypeDescriptor(objectType, instance); 157public RootModelTypeDescriptor(ICustomTypeDescriptor parent, object root)
fx\src\data\System\Data\Common\DataRecordInternal.cs (13)
286AttributeCollection ICustomTypeDescriptor.GetAttributes() { 291string ICustomTypeDescriptor.GetClassName() { 295string ICustomTypeDescriptor.GetComponentName() { 299TypeConverter ICustomTypeDescriptor.GetConverter() { 303EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 308PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 312object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 316EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 320EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 324PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 325return((ICustomTypeDescriptor)this).GetProperties(null); 328PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 335object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (12)
482string ICustomTypeDescriptor.GetClassName() { 485string ICustomTypeDescriptor.GetComponentName() { 488AttributeCollection ICustomTypeDescriptor.GetAttributes() { 491object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 494TypeConverter ICustomTypeDescriptor.GetConverter() { 497PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 500PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 503PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 506EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 509EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 512EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 515object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\Common\dbdatarecord.cs (13)
87AttributeCollection ICustomTypeDescriptor.GetAttributes() { 92string ICustomTypeDescriptor.GetClassName() { 96string ICustomTypeDescriptor.GetComponentName() { 100TypeConverter ICustomTypeDescriptor.GetConverter() { 104EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 109PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 113object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 117EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 121EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 125PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 126return((ICustomTypeDescriptor)this).GetProperties(null); 129PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 133object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\DataRowView.cs (13)
259AttributeCollection ICustomTypeDescriptor.GetAttributes() { 263string ICustomTypeDescriptor.GetClassName() { 267string ICustomTypeDescriptor.GetComponentName() { 271TypeConverter ICustomTypeDescriptor.GetConverter() { 275EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 279PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 283object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 287EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 291EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 295PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 296return((ICustomTypeDescriptor)this).GetProperties(null); 299PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 303object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
fx\src\data\System\Data\DataViewManager.cs (1)
327return((ICustomTypeDescriptor)(new DataViewManagerListItemTypeDescriptor(this))).GetProperties();
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (13)
39AttributeCollection ICustomTypeDescriptor.GetAttributes() { 47string ICustomTypeDescriptor.GetClassName() { 55string ICustomTypeDescriptor.GetComponentName() { 62TypeConverter ICustomTypeDescriptor.GetConverter() { 69EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 77PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 84object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 94EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 105EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 115PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 116return((ICustomTypeDescriptor)this).GetProperties(null); 126PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 149object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
System.Data.Entity (7)
System\Data\Common\DataRecord.cs (7)
457AttributeCollection ICustomTypeDescriptor.GetAttributes() { return TypeDescriptor.GetAttributes(this, true); } 458string ICustomTypeDescriptor.GetClassName() { return null; } 459string ICustomTypeDescriptor.GetComponentName() { return null; } 508PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { return ((ICustomTypeDescriptor)this).GetProperties(null); } 509PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 561object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { return this; }
System.Web (96)
ModelBinding\AssociatedMetadataProvider.cs (2)
48ICustomTypeDescriptor typeDescriptor = GetTypeDescriptor(containerType); 83protected virtual ICustomTypeDescriptor GetTypeDescriptor(Type type) {
ModelBinding\AssociatedValidatorProvider.cs (2)
9protected virtual ICustomTypeDescriptor GetTypeDescriptor(Type type) { 31ICustomTypeDescriptor typeDescriptor = GetTypeDescriptor(metadata.ContainerType);
ModelBinding\MutableObjectModelBinder.cs (1)
135ICustomTypeDescriptor modelDescriptor = TypeDescriptorHelper.Get(modelType);
ModelBinding\TypeDescriptorHelper.cs (1)
8public static ICustomTypeDescriptor Get(Type type) {
UI\DataBinder.cs (1)
145if (EnableCaching && !(container is ICustomTypeDescriptor)) {
UI\TargetFrameworkUtil.cs (8)
123private static ICustomTypeDescriptor GetTypeDescriptor(Type type) { 126ICustomTypeDescriptor descriptor = tdp.GetTypeDescriptor(type); 134private static ICustomTypeDescriptor GetTypeDescriptor(object obj) { 137ICustomTypeDescriptor descriptor = tdp.GetTypeDescriptor(obj); 317ICustomTypeDescriptor descriptor = GetTypeDescriptor(type); 347ICustomTypeDescriptor descriptor = GetTypeDescriptor(obj); 402ICustomTypeDescriptor descriptor = GetTypeDescriptor(type); 439ICustomTypeDescriptor descriptor = GetTypeDescriptor(type);
UI\WebControls\DataGrid.cs (1)
918if ((sampleItem != null) && (sampleItem is ICustomTypeDescriptor)) {
UI\WebControls\DetailsViewRowsGenerator.cs (1)
37if ((dataItem != null) && (dataItem is ICustomTypeDescriptor)) {
UI\WebControls\ErrorStyle.cs (13)
23AttributeCollection ICustomTypeDescriptor.GetAttributes() { 27string ICustomTypeDescriptor.GetClassName() { 31string ICustomTypeDescriptor.GetComponentName() { 35TypeConverter ICustomTypeDescriptor.GetConverter() { 39EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 43PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 47object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 51EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 55EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 59PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 60return ((ICustomTypeDescriptor)this).GetProperties(null); 63PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 82object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\ErrorTableItemStyle.cs (13)
21AttributeCollection ICustomTypeDescriptor.GetAttributes() { 25string ICustomTypeDescriptor.GetClassName() { 29string ICustomTypeDescriptor.GetComponentName() { 33TypeConverter ICustomTypeDescriptor.GetConverter() { 37EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 41PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 45object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 49EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 53EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 57PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 58return ((ICustomTypeDescriptor)this).GetProperties(null); 61PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 80object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\GridViewColumnsGenerator.cs (1)
75if ((sampleItem != null) && (sampleItem is ICustomTypeDescriptor)) {
UI\WebControls\SubMenuStyle.cs (13)
230 System.ComponentModel.AttributeCollection ICustomTypeDescriptor.GetAttributes() { 234 string ICustomTypeDescriptor.GetClassName() { 238 string ICustomTypeDescriptor.GetComponentName() { 242 TypeConverter ICustomTypeDescriptor.GetConverter() { 246 EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 250 PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 254 object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 258 EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 262 EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 266 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 267 return ((ICustomTypeDescriptor)this).GetProperties(null); 270 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 296 object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (13)
39AttributeCollection ICustomTypeDescriptor.GetAttributes() { 43string ICustomTypeDescriptor.GetClassName() { 47string ICustomTypeDescriptor.GetComponentName() { 52TypeConverter ICustomTypeDescriptor.GetConverter() { 56EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 60PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 64object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 68EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 72EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attrs) { 76PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 77return ((ICustomTypeDescriptor)this).GetProperties(null); 80PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attrFilter) { 92object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebControls\XmlHierarchyData.cs (13)
128AttributeCollection ICustomTypeDescriptor.GetAttributes() { 132string ICustomTypeDescriptor.GetClassName() { 136string ICustomTypeDescriptor.GetComponentName() { 141TypeConverter ICustomTypeDescriptor.GetConverter() { 145EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 149PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 153object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 157EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 161EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attrs) { 165PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 166return ((ICustomTypeDescriptor)this).GetProperties(null); 169PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attrFilter) { 185object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
UI\WebParts\WebPartMenuStyle.cs (13)
140System.ComponentModel.AttributeCollection ICustomTypeDescriptor.GetAttributes() { 144string ICustomTypeDescriptor.GetClassName() { 148string ICustomTypeDescriptor.GetComponentName() { 152TypeConverter ICustomTypeDescriptor.GetConverter() { 156EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 160PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 164object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 168EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 172EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 176PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 177return ((ICustomTypeDescriptor)this).GetProperties(null); 180PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 228object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) {
System.Web.DynamicData (9)
DynamicData\MetaModel.cs (1)
306internal static MetaModel CreateSimpleModel(ICustomTypeDescriptor descriptor) {
DynamicData\MetaTable.cs (1)
349public static MetaTable CreateTable(ICustomTypeDescriptor typeDescriptor) {
DynamicData\ModelProviders\SimpleModelProvider.cs (1)
16public SimpleDataModelProvider(ICustomTypeDescriptor typeDescriptor) {
DynamicData\ModelProviders\SimpleTableProvider.cs (3)
11private ICustomTypeDescriptor _descriptor; 26public SimpleTableProvider(DataModelProvider modelProvider, ICustomTypeDescriptor descriptor) 45public override ICustomTypeDescriptor GetTypeDescriptor() {
DynamicData\ModelProviders\TableProvider.cs (1)
50public virtual ICustomTypeDescriptor GetTypeDescriptor() {
DynamicData\Util\Misc.cs (2)
24if (dataItem is ICustomTypeDescriptor) { 26dataItem = ((ICustomTypeDescriptor)dataItem).GetPropertyOwner(null);
System.Web.Entity (12)
System\Data\WebControls\EntityDataSourceWrapper.cs (12)
78System.ComponentModel.AttributeCollection System.ComponentModel.ICustomTypeDescriptor.GetAttributes() { return new System.ComponentModel.AttributeCollection(); } 79string ICustomTypeDescriptor.GetClassName() { return null; } 80string ICustomTypeDescriptor.GetComponentName() { return null; } 81TypeConverter ICustomTypeDescriptor.GetConverter() { return null; } 82EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { return null; } 83PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { return null; } 84object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { return null; } 85EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { return null; } 86EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { return null; } 94PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 96return ((ICustomTypeDescriptor)this).GetProperties(); 99object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Web.Mobile (13)
UI\MobileControls\Design\Converters\DataFieldConverter.cs (1)
110((ICustomTypeDescriptor)component).GetProperties()[_dataMemberPropertyName];
UI\MobileControls\Design\PropertyOverridesDialog.cs (12)
1084System.ComponentModel.AttributeCollection ICustomTypeDescriptor.GetAttributes() 1089String ICustomTypeDescriptor.GetClassName() 1094String ICustomTypeDescriptor.GetComponentName() 1099TypeConverter ICustomTypeDescriptor.GetConverter() 1104EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 1109PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 1114Object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 1119EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 1124EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 1129PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 1139PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 1150Object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor property)
System.Windows.Forms (58)
winforms\Managed\System\WinForms\AxHost.cs (13)
2719AttributeCollection ICustomTypeDescriptor.GetAttributes() { 2734string ICustomTypeDescriptor.GetClassName() { 2745string ICustomTypeDescriptor.GetComponentName() { 2755TypeConverter ICustomTypeDescriptor.GetConverter() { 2765EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() { 2775PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() { 2785Object ICustomTypeDescriptor.GetEditor(Type editorBaseType) { 2804EventDescriptorCollection ICustomTypeDescriptor.GetEvents() { 2814EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { 2983PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() { 2993PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) { 3003Object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd) { 4373PropertyDescriptorCollection props = ((ICustomTypeDescriptor)host).GetProperties();
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (2)
64if (obj is ICustomTypeDescriptor) { 65obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(propDesc);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (8)
684if (component is ICustomTypeDescriptor) { 685component = ((ICustomTypeDescriptor)component).GetPropertyOwner(this); 866if (component is ICustomTypeDescriptor) { 867component = ((ICustomTypeDescriptor)component).GetPropertyOwner(this); 1174if (component is ICustomTypeDescriptor) { 1175component = ((ICustomTypeDescriptor)component).GetPropertyOwner(this); 1214if (owner is ICustomTypeDescriptor) { 1215owner = ((ICustomTypeDescriptor)owner).GetPropertyOwner(this);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyPageUITypeConverter.cs (2)
58if (instance is ICustomTypeDescriptor) { 59instance = ((ICustomTypeDescriptor)instance).GetPropertyOwner(propDesc);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (13)
87public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 483AttributeCollection ICustomTypeDescriptor.GetAttributes() 491string ICustomTypeDescriptor.GetClassName() 499string ICustomTypeDescriptor.GetComponentName() 507TypeConverter ICustomTypeDescriptor.GetConverter() 515EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 523PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 531object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 539EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 547EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 555PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 563PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 571object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
winforms\Managed\System\WinForms\ListBindingHelper.cs (2)
314if (dmProp == null || dmProp.PropertyType is ICustomTypeDescriptor) { 588if (indexer != null && !typeof(ICustomTypeDescriptor).IsAssignableFrom(indexer.PropertyType)) {
winforms\Managed\System\WinForms\PropertyGrid.cs (6)
1211if (objTemp is ICustomTypeDescriptor) { 1212objTemp = ((ICustomTypeDescriptor)objTemp).GetPropertyOwner(null); 1303if (tempObj is ICustomTypeDescriptor) { 1304tempObj = ((ICustomTypeDescriptor)tempObj).GetPropertyOwner(null); 2638if (obj is ICustomTypeDescriptor) { 2639obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(null);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (2)
1626if (obj is ICustomTypeDescriptor) 1628owner = ((ICustomTypeDescriptor)obj).GetPropertyOwner(pd);
winforms\Managed\System\WinForms\PropertyGridInternal\MergePropertyDescriptor.cs (2)
248if (propertyOwner is ICustomTypeDescriptor) { 249propertyOwner = ((ICustomTypeDescriptor) propertyOwner).GetPropertyOwner(descriptors[i]);
winforms\Managed\System\WinForms\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
232if (obj is ICustomTypeDescriptor) { 233obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(propertyInfo);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyDescriptorGridEntry.cs (6)
446if (target is ICustomTypeDescriptor) { 447target = ((ICustomTypeDescriptor)target).GetPropertyOwner(propertyInfo); 518if (obj is ICustomTypeDescriptor) { 519obj = ((ICustomTypeDescriptor)obj).GetPropertyOwner(propertyInfo); 827if (target is ICustomTypeDescriptor) { 828target = ((ICustomTypeDescriptor)target).GetPropertyOwner(propertyInfo);
System.Workflow.ComponentModel (8)
AuthoringOM\Design\PropertyDescriptors.cs (4)
789public override ICustomTypeDescriptor GetTypeDescriptor(Type type, object instance) 791ICustomTypeDescriptor realTypeDescriptor = base.GetTypeDescriptor(type, instance); 792ICustomTypeDescriptor readonlyTypeDescriptor = new ReadonlyTypeDescriptor(realTypeDescriptor); 801internal ReadonlyTypeDescriptor(ICustomTypeDescriptor realTypeDescriptor)
AuthoringOM\Serializer\CompositeActivityTypeDescriptor.cs (2)
24ICustomTypeDescriptor realTypeDescriptor = null; 25public CompositeActivityTypeDescriptor(ICustomTypeDescriptor realTypeDescriptor)
AuthoringOM\Serializer\CompositeActivityTypeDescriptorProvider.cs (2)
29public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 31ICustomTypeDescriptor realTypeDescriptor = base.GetTypeDescriptor(objectType, instance);
System.Workflow.Runtime (13)
System\Activities\Statements\Interop.cs (13)
548AttributeCollection ICustomTypeDescriptor.GetAttributes() 553string ICustomTypeDescriptor.GetClassName() 558string ICustomTypeDescriptor.GetComponentName() 563TypeConverter ICustomTypeDescriptor.GetConverter() 568EventDescriptor ICustomTypeDescriptor.GetDefaultEvent() 573PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty() 578object ICustomTypeDescriptor.GetEditor(Type editorBaseType) 583EventDescriptorCollection ICustomTypeDescriptor.GetEvents(Attribute[] attributes) 588EventDescriptorCollection ICustomTypeDescriptor.GetEvents() 593PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes) 708PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties() 710return ((ICustomTypeDescriptor)this).GetProperties(null); 713object ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor pd)
System.Xml.Linq (2)
System\Xml\Linq\XComponentModel.cs (2)
18public override ICustomTypeDescriptor GetTypeDescriptor(Type type, object instance) { 25public XTypeDescriptor(ICustomTypeDescriptor parent) : base(parent) {
WindowsBase (7)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (2)
35internal APCustomTypeDescriptor(ICustomTypeDescriptor parent, object instance) 298private ICustomTypeDescriptor _parent;
Base\MS\Internal\ComponentModel\DependencyObjectProvider.cs (3)
73public override ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance) 83public override ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance) 85ICustomTypeDescriptor descriptor = base.GetExtendedTypeDescriptor(instance);
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
35internal DPCustomTypeDescriptor(ICustomTypeDescriptor parent, Type objectType, object instance) 382private ICustomTypeDescriptor _parent;