PresentationElementTypeDescriptionProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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) |