CustomTypeDescriptor CustomTypeDescriptor CustomTypeDescriptor CustomTypeDescriptor Class

Definition

Provides a simple default implementation of the ICustomTypeDescriptor interface.

public ref class CustomTypeDescriptor abstract : System::ComponentModel::ICustomTypeDescriptor
public abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor
type CustomTypeDescriptor = class
    interface ICustomTypeDescriptor
Public MustInherit Class CustomTypeDescriptor
Implements ICustomTypeDescriptor
Inheritance
CustomTypeDescriptorCustomTypeDescriptorCustomTypeDescriptorCustomTypeDescriptor
Derived
Implements

Remarks

Like TypeDescriptionProvider, the CustomTypeDescriptor class relies on a parent object of type ICustomTypeDescriptor supplied during construction. This allows classes that derive from CustomTypeDescriptor to selectively override methods.

Constructors

CustomTypeDescriptor() CustomTypeDescriptor() CustomTypeDescriptor() CustomTypeDescriptor()

Initializes a new instance of the CustomTypeDescriptor class.

CustomTypeDescriptor(ICustomTypeDescriptor) CustomTypeDescriptor(ICustomTypeDescriptor) CustomTypeDescriptor(ICustomTypeDescriptor) CustomTypeDescriptor(ICustomTypeDescriptor)

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetAttributes() GetAttributes() GetAttributes() GetAttributes()

Returns a collection of custom attributes for the type represented by this type descriptor.

GetClassName() GetClassName() GetClassName() GetClassName()

Returns the fully qualified name of the class represented by this type descriptor.

GetComponentName() GetComponentName() GetComponentName() GetComponentName()

Returns the name of the class represented by this type descriptor.

GetConverter() GetConverter() GetConverter() GetConverter()

Returns a type converter for the type represented by this type descriptor.

GetDefaultEvent() GetDefaultEvent() GetDefaultEvent() GetDefaultEvent()

Returns the event descriptor for the default event of the object represented by this type descriptor.

GetDefaultProperty() GetDefaultProperty() GetDefaultProperty() GetDefaultProperty()

Returns the property descriptor for the default property of the object represented by this type descriptor.

GetEditor(Type) GetEditor(Type) GetEditor(Type) GetEditor(Type)

Returns an editor of the specified type that is to be associated with the class represented by this type descriptor.

GetEvents() GetEvents() GetEvents() GetEvents()

Returns a collection of event descriptors for the object represented by this type descriptor.

GetEvents(Attribute[]) GetEvents(Attribute[]) GetEvents(Attribute[]) GetEvents(Attribute[])

Returns a filtered collection of event descriptors for the object represented by this type descriptor.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperties() GetProperties() GetProperties() GetProperties()

Returns a collection of property descriptors for the object represented by this type descriptor.

GetProperties(Attribute[]) GetProperties(Attribute[]) GetProperties(Attribute[]) GetProperties(Attribute[])

Returns a filtered collection of property descriptors for the object represented by this type descriptor.

GetPropertyOwner(PropertyDescriptor) GetPropertyOwner(PropertyDescriptor) GetPropertyOwner(PropertyDescriptor) GetPropertyOwner(PropertyDescriptor)

Returns an object that contains the property described by the specified property descriptor.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See Also