CustomTypeDescriptor Constructor (ICustomTypeDescriptor^)
.NET Framework (current version)
Initializes a new instance of the CustomTypeDescriptor class using a parent custom type descriptor.
Assembly: System (in System.dll)
Parameters
- 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.
Method | 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
Available since 2.0
Available since 2.0
Show: