PresentationElementTypeDescriptionProvider.CreatePresentationElementTypeDescriptor Method
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.
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
- parent
- ICustomTypeDescriptor
- presentationElement
- PresentationElement
- selectedElement
- ModelElement