Udostępnij za pośrednictwem


ElementTypeDescriptionProvider Class

Definition

ElementTypeDescriptionProvider provides the wrapper class which encapsulates the ModelElement object. This class is invoked when property grid wants to render the ModelElement object.

public ref class ElementTypeDescriptionProvider : System::ComponentModel::TypeDescriptionProvider
public class ElementTypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider
type ElementTypeDescriptionProvider = class
    inherit TypeDescriptionProvider
Public Class ElementTypeDescriptionProvider
Inherits TypeDescriptionProvider
Inheritance
ElementTypeDescriptionProvider
Derived

Constructors

ElementTypeDescriptionProvider()

Creates a new ElementTypeDescriptionProvider.

Methods

CreateCustomTypeDescriptor(ICustomTypeDescriptor, ModelElement)

Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor.

CreateCustomTypeDescriptor(ICustomTypeDescriptor, Type)

Overridables for the derived class to provide an ICustomTypeDescriptor (that doesn't need to be an ElementTypeDescriptor). Base implementation simply calls CreateTypeDescriptor() to create an ElementTypeDescriptor.

CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)

Overridables for the derived class to provide a custom type descriptor.

CreateTypeDescriptor(ICustomTypeDescriptor, Type)

Overridables for the derived class to provide a custom type descriptor.

GetTypeDescriptor(Type, Object)

Returns the TypeDescriptor for the requesting ModelElement object.

Applies to