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