Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Protected Overridable Function CreatePresentationElementTypeDescriptor ( _
    parent As ICustomTypeDescriptor, _
    presentationElement As PresentationElement, _
    selectedElement As ModelElement _
) As PresentationElementTypeDescriptor
protected virtual PresentationElementTypeDescriptor CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor parent,
    PresentationElement presentationElement,
    ModelElement selectedElement
)
protected:
virtual PresentationElementTypeDescriptor^ CreatePresentationElementTypeDescriptor(
    ICustomTypeDescriptor^ parent, 
    PresentationElement^ presentationElement, 
    ModelElement^ selectedElement
)
abstract CreatePresentationElementTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        selectedElement:ModelElement -> PresentationElementTypeDescriptor  
override CreatePresentationElementTypeDescriptor : 
        parent:ICustomTypeDescriptor * 
        presentationElement:PresentationElement * 
        selectedElement:ModelElement -> PresentationElementTypeDescriptor
protected function CreatePresentationElementTypeDescriptor(
    parent : ICustomTypeDescriptor, 
    presentationElement : PresentationElement, 
    selectedElement : ModelElement
) : PresentationElementTypeDescriptor
Parameters
- parent
 Type: System.ComponentModel.ICustomTypeDescriptor
- presentationElement
 Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement
- selectedElement
 Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.