ElementPropertyDescriptor Class
Represents a domain property in a domain-specific language (DSL) model.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Class ElementPropertyDescriptor _
Inherits PropertyDescriptor
'Usage
Dim instance As ElementPropertyDescriptor
public class ElementPropertyDescriptor : PropertyDescriptor
public ref class ElementPropertyDescriptor : public PropertyDescriptor
public class ElementPropertyDescriptor extends PropertyDescriptor
Remarks
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.
Inheritance Hierarchy
System.Object
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
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
ElementPropertyDescriptor Members
Microsoft.VisualStudio.Modeling.Design Namespace
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added topic. |
Content bug fix. |