PresentationElementTypeDescriptionProvider Class
Note: This API is now obsolete.
PresentationElementTypeDescriptionProvider provides the wrapper class which encapsulates the ModelElement object. This class is invoked when property grid wants to render the ModelElement object.
Inheritance Hierarchy
System.Object
System.ComponentModel.TypeDescriptionProvider
Microsoft.VisualStudio.Modeling.Design.ElementTypeDescriptionProvider
Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptionProvider
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.", _
True)> _
Public Class PresentationElementTypeDescriptionProvider _
Inherits ElementTypeDescriptionProvider
[ObsoleteAttribute("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.",
true)]
public class PresentationElementTypeDescriptionProvider : ElementTypeDescriptionProvider
[ObsoleteAttribute(L"This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.",
true)]
public ref class PresentationElementTypeDescriptionProvider : public ElementTypeDescriptionProvider
[<ObsoleteAttribute("This class is redundant and may be removed in a later version. Derive from ElementTypeDescriptor instead.",
true)>]
type PresentationElementTypeDescriptionProvider =
class
inherit ElementTypeDescriptionProvider
end
public class PresentationElementTypeDescriptionProvider extends ElementTypeDescriptionProvider
The PresentationElementTypeDescriptionProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PresentationElementTypeDescriptionProvider |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
CreateInstance | Creates an object that can substitute for another data type. (Inherited from TypeDescriptionProvider.) | |
CreatePresentationElementTypeDescriptor | 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, Type) | Overridables for the derived class to provide a custom type descriptor. (Inherited from ElementTypeDescriptionProvider.) | |
CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement) | Provides a custom type descriptor for a PresentationElement. (Overrides ElementTypeDescriptionProvider.CreateTypeDescriptor(ICustomTypeDescriptor, ModelElement).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCache | Gets a per-object cache, accessed as an IDictionary of key/value pairs. (Inherited from TypeDescriptionProvider.) | |
GetExtendedTypeDescriptor | Gets an extended custom type descriptor for the given object. (Inherited from TypeDescriptionProvider.) | |
GetExtenderProviders | Gets the extender providers for the specified object. (Inherited from TypeDescriptionProvider.) | |
GetFullComponentName | Gets the name of the specified component, or nulla null reference (Nothing in Visual Basic) if the component has no name. (Inherited from TypeDescriptionProvider.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetReflectionType(Type) | Performs normal reflection against a type. (Inherited from TypeDescriptionProvider.) | |
GetReflectionType(Object) | Performs normal reflection against the given object. (Inherited from TypeDescriptionProvider.) | |
GetReflectionType(Type, Object) | Performs normal reflection against the given object with the given type. (Inherited from TypeDescriptionProvider.) | |
GetRuntimeType | Converts a reflection type into a runtime type. (Inherited from TypeDescriptionProvider.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeDescriptor(Type) | Gets a custom type descriptor for the given type. (Inherited from TypeDescriptionProvider.) | |
GetTypeDescriptor(Object) | Gets a custom type descriptor for the given object. (Inherited from TypeDescriptionProvider.) | |
GetTypeDescriptor(Type, Object) | Gets a custom type descriptor for the given type and object. (Inherited from ElementTypeDescriptionProvider.) | |
IsSupportedType | Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers. (Inherited from TypeDescriptionProvider.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.