ElementPropertyDescriptor Class
Represents a domain property in a domain-specific language (DSL) model.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
System.ComponentModel::MemberDescriptor
System.ComponentModel::PropertyDescriptor
Microsoft.VisualStudio.Modeling.Design::ElementPropertyDescriptor
Microsoft.VisualStudio.Modeling.Design::TrackingPropertyDescriptor
Microsoft.VisualStudio.Modeling.Diagrams::LabelShapeTextPropertyDescriptor
Microsoft.VisualStudio.Modeling.DslDefinition.Design::DslDefinitionModelElementPropertyDescriptor
| Name | Description | |
|---|---|---|
![]() | ElementPropertyDescriptor(ElementTypeDescriptor^, ModelElement^, DomainPropertyInfo^, array<Attribute^>^) | Initializes a new instance of the ElementPropertyDescriptor class and specifies a default value provider. |
![]() | ElementPropertyDescriptor(ModelElement^, DomainPropertyInfo^, array<Attribute^>^) | Initializes a new instance of the ElementPropertyDescriptor class. |
| Name | Description | |
|---|---|---|
![]() | AttributeArray | (Inherited from MemberDescriptor.) |
![]() | Attributes | (Inherited from MemberDescriptor.) |
![]() | Category | Gets the category in which to group the domain property when the property is displayed in a PropertyGrid control that is set to Categorized mode.(Overrides MemberDescriptor::Category.) |
![]() | ComponentType | Gets the type of the model element to which this property is bound.(Overrides PropertyDescriptor::ComponentType.) |
![]() | Converter | Gets the converter for the described property.(Overrides PropertyDescriptor::Converter.) |
![]() | Description | Gets the description of the described property, as specified in the DescriptionResourceAttribute.(Overrides MemberDescriptor::Description.) |
![]() | DesignTimeOnly | (Inherited from MemberDescriptor.) |
![]() | DisplayName | Gets the display name of the described property, as specified in the DisplayNameResourceAttribute.(Overrides MemberDescriptor::DisplayName.) |
![]() | DomainPropertyInfo | Gets the property information object that was used to create this property descriptor. |
![]() | IsBrowsable | (Inherited from MemberDescriptor.) |
![]() | IsInstanceBased | Test if this PropertyDescriptor is based on an instance or a static type. |
![]() | IsLocalizable | (Inherited from PropertyDescriptor.) |
![]() | IsReadOnly | Gets a value that indicates whether the described property is read-only.(Overrides PropertyDescriptor::IsReadOnly.) |
![]() | ModelElement | Gets the model element that was used to create this property descriptor. |
![]() | Name | (Inherited from MemberDescriptor.) |
![]() | NameHashCode | (Inherited from MemberDescriptor.) |
![]() | PropertyType | Gets the property type of the described property.(Overrides PropertyDescriptor::PropertyType.) |
![]() | SerializationVisibility | (Inherited from PropertyDescriptor.) |
![]() | SupportsChangeEvents | (Inherited from PropertyDescriptor.) |
This class provides dynamic custom property information for a domain property of a model element.
The Domain-Specific Language Tools (DSL Tools) use this type to represent the domain class properties in a domain model. This type controls how a property is handled by the property grid in the domain model and provides transactions for modifying the described property.
To create a customized element property descriptor, inherit from this class and override one or more of the members.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




