This documentation is archived and is not being maintained.

CustomTypeDescriptor Constructor (ICustomTypeDescriptor)

Initializes a new instance of the CustomTypeDescriptor class using a parent custom type descriptor.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)

protected CustomTypeDescriptor(
	ICustomTypeDescriptor parent


Type: System.ComponentModel.ICustomTypeDescriptor
The parent custom type descriptor.

If the parent parameter is null, all CustomTypeDescriptor methods will return default values. Otherwise, all CustomTypeDescriptor methods will delegate to the methods of parent.

Most CustomTypeDescriptor methods return null by default. The following table shows the return values for the methods that do not return null by default.


Default return value


An empty attribute collection (AttributeCollection.Empty).


The default TypeConverter instance.


An empty events collection (EventDescriptorCollection.Empty).


An empty property collection (PropertyDescriptorCollection.Empty).

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.