Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: 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.