ElementTypeDescriptor.CreatePropertyDescriptor 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.
Method to create a PropertyDescriptor which describes the property to be displayed in the grid.
protected:
virtual Microsoft::VisualStudio::Modeling::Design::ElementPropertyDescriptor ^ CreatePropertyDescriptor(Microsoft::VisualStudio::Modeling::ModelElement ^ requestor, Microsoft::VisualStudio::Modeling::DomainPropertyInfo ^ domainPropertyInfo, cli::array <Attribute ^> ^ attributes);
protected virtual Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor CreatePropertyDescriptor (Microsoft.VisualStudio.Modeling.ModelElement requestor, Microsoft.VisualStudio.Modeling.DomainPropertyInfo domainPropertyInfo, Attribute[] attributes);
abstract member CreatePropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
override this.CreatePropertyDescriptor : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainPropertyInfo * Attribute[] -> Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
Protected Overridable Function CreatePropertyDescriptor (requestor As ModelElement, domainPropertyInfo As DomainPropertyInfo, attributes As Attribute()) As ElementPropertyDescriptor
Parameters
- requestor
- ModelElement
ModelElement that is requesting the property value.
- domainPropertyInfo
- DomainPropertyInfo
DomainProperty backing the property descriptor
- attributes
- Attribute[]
Attributes
Returns
ElementPropertyDescriptor