Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface System.​ComponentModel.​ICustomTypeDescriptor

Assembly: System.ComponentModel.TypeConverter

Provides an interface that supplies dynamic custom type information for an object.

Properties

bool?
RequireRegisteredTypes
Gets a value that indicates whether types are required to be registered through <see cref="M:System.ComponentModel.TypeDescriptionProvider.RegisterType``1" /> .

Methods

GetAttributes​()
Returns a collection of custom attributes for this instance of a component.
Returns An <see cref="T:System.ComponentModel.AttributeCollection" /> containing the attributes for this object.
string
GetClassName​()
Returns the class name of this instance of a component.
Returns The class name of the object, or <see langword="null" /> if the class does not have a name.
string
GetComponentName​()
Returns the name of this instance of a component.
Returns The name of the object, or <see langword="null" /> if the object does not have a name.
GetConverter​()
Returns a type converter for this instance of a component.
Returns A <see cref="T:System.ComponentModel.TypeConverter" /> that is the converter for this object, or <see langword="null" /> if there is no <see cref="T:System.ComponentModel.TypeConverter" /> for this object.
GetConverterFromRegisteredType​()
Returns a type converter for this instance of a component that might be registered.
Returns A <see cref="T:System.ComponentModel.TypeConverter" /> that is the converter for this object, or <see langword="null" /> if there is no <see cref="T:System.ComponentModel.TypeConverter" /> for this object.
GetDefaultEvent​()
Returns the default event for this instance of a component.
Returns An <see cref="T:System.ComponentModel.EventDescriptor" /> that represents the default event for this object, or <see langword="null" /> if this object does not have events.
GetDefaultProperty​()
Returns the default property for this instance of a component.
Returns A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents the default property for this object, or <see langword="null" /> if this object does not have properties.
object
GetEditor​(Type editorBaseType)
Returns an editor of the specified type for this instance of a component.
Returns An <see cref="T:System.Object" /> of the specified type that is the editor for this object, or <see langword="null" /> if the editor cannot be found.
editorBaseType A <see cref="T:System.Type" /> that represents the editor for this object.
GetEvents​()
Returns the events for this instance of a component.
Returns An <see cref="T:System.ComponentModel.EventDescriptorCollection" /> that represents the events for this component instance.
GetEvents​(Attribute[] attributes)
Returns the events for this instance of a component using the specified attribute array as a filter.
Returns An <see cref="T:System.ComponentModel.EventDescriptorCollection" /> that represents the filtered events for this component instance.
attributes An array of type <see cref="T:System.Attribute" /> that is used as a filter.
GetEventsFromRegisteredType​()
Returns the events for this instance of a component that might be registered.
Returns An <see cref="T:System.ComponentModel.EventDescriptorCollection" /> that represents the events for this component instance.
GetProperties​()
Returns the properties for this instance of a component.
Returns A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that represents the properties for this component instance.
GetProperties​(Attribute[] attributes)
Returns the properties for this instance of a component using the attribute array as a filter.
Returns A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that represents the filtered properties for this component instance.
attributes An array of type <see cref="T:System.Attribute" /> that is used as a filter.
GetPropertiesFromRegisteredType​()
Returns the properties for this instance of a component that might be registered.
Returns A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> that represents the properties for this component instance.
object
GetPropertyOwner​(PropertyDescriptor pd)
Returns an object that contains the property described by the specified property descriptor.
Returns An <see cref="T:System.Object" /> that represents the owner of the specified property.
pd A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents the property whose owner is to be found.