Share via


PresentationElementTypeDescriptionProvider Class

Definition

Caution

This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.

PresentationElementTypeDescriptionProvider 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 PresentationElementTypeDescriptionProvider : Microsoft::VisualStudio::Modeling::Design::ElementTypeDescriptionProvider
[System.Obsolete("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.", true)]
public class PresentationElementTypeDescriptionProvider : Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptionProvider
[<System.Obsolete("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.", true)>]
type PresentationElementTypeDescriptionProvider = class
    inherit ElementTypeDescriptionProvider
Public Class PresentationElementTypeDescriptionProvider
Inherits ElementTypeDescriptionProvider
Inheritance
PresentationElementTypeDescriptionProvider
Attributes

Constructors

PresentationElementTypeDescriptionProvider()

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.

(Inherited from ElementTypeDescriptionProvider)
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.

(Inherited from ElementTypeDescriptionProvider)
CreatePresentationElementTypeDescriptor(ICustomTypeDescriptor, PresentationElement, ModelElement)

Create a new PresentationElementTypeDescriptor for the property grid to render the properties. Class derives from PresentationElementTypeDescriptionProvider can override this method to provide his/her own type descriptor.

CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement)

Provides a custom type descriptor for a PresentationElement.

CreateTypeDescriptor(ICustomTypeDescriptor, Type)

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

(Inherited from ElementTypeDescriptionProvider)
GetTypeDescriptor(Type, Object)

Returns the TypeDescriptor for the requesting ModelElement object.

(Inherited from ElementTypeDescriptionProvider)

Applies to