Partager via


PresentationElementTypeDescriptionProvider.CreatePresentationElementTypeDescriptor Method

Definition

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.

protected:
 virtual Microsoft::VisualStudio::Modeling::Diagrams::PresentationElementTypeDescriptor ^ CreatePresentationElementTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent, Microsoft::VisualStudio::Modeling::Diagrams::PresentationElement ^ presentationElement, Microsoft::VisualStudio::Modeling::ModelElement ^ selectedElement);
protected virtual Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor CreatePresentationElementTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent, Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement presentationElement, Microsoft.VisualStudio.Modeling.ModelElement selectedElement);
abstract member CreatePresentationElementTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor
override this.CreatePresentationElementTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor * Microsoft.VisualStudio.Modeling.Diagrams.PresentationElement * Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.Diagrams.PresentationElementTypeDescriptor
Protected Overridable Function CreatePresentationElementTypeDescriptor (parent As ICustomTypeDescriptor, presentationElement As PresentationElement, selectedElement As ModelElement) As PresentationElementTypeDescriptor

Parameters

presentationElement
PresentationElement
selectedElement
ModelElement

Returns

Applies to