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.

C++
public ref class ElementTypeDescriptionProvider : System::ComponentModel::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

Produkt Verzie
Visual Studio SDK 2017, 2019, 2022