DslDefinitionModelElementPropertyDescriptor Class
Provide custom property descriptor for domain classes defined in the DslDefintion namespace
Inheritance Hierarchy
Object
MemberDescriptor
PropertyDescriptor
Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementPropertyDescriptor
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)
Syntax
'Declaration
Public NotInheritable Class DslDefinitionModelElementPropertyDescriptor _
Inherits ElementPropertyDescriptor
public sealed class DslDefinitionModelElementPropertyDescriptor : ElementPropertyDescriptor
public ref class DslDefinitionModelElementPropertyDescriptor sealed : public ElementPropertyDescriptor
[<Sealed>]
type DslDefinitionModelElementPropertyDescriptor =
class
inherit ElementPropertyDescriptor
end
public final class DslDefinitionModelElementPropertyDescriptor extends ElementPropertyDescriptor
The DslDefinitionModelElementPropertyDescriptor type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DslDefinitionModelElementPropertyDescriptor | DslDefinitionModelElementPropertyDescriptor is for concept property |
Top
Properties
Name | Description | |
---|---|---|
Attributes | Gets the collection of attributes for this member. (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. (Inherited from ElementPropertyDescriptor.) | |
ComponentType | Gets the type of the model element to which this property is bound. (Inherited from ElementPropertyDescriptor.) | |
Converter | Gets the converter for the described property. (Inherited from ElementPropertyDescriptor.) | |
Description | Gets the description of the described property, as specified in the DescriptionResourceAttribute. (Inherited from ElementPropertyDescriptor.) | |
DesignTimeOnly | Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.) | |
DisplayName | Gets the display name of the described property, as specified in the DisplayNameResourceAttribute. (Inherited from ElementPropertyDescriptor.) | |
DomainPropertyInfo | Gets the property information object that was used to create this property descriptor. (Inherited from ElementPropertyDescriptor.) | |
IsBrowsable | Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.) | |
IsInstanceBased | Test if this PropertyDescriptor is based on an instance or a static type. (Inherited from ElementPropertyDescriptor.) | |
IsLocalizable | Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.) | |
IsReadOnly | Gets a value that indicates whether the described property is read-only. (Inherited from ElementPropertyDescriptor.) | |
ModelElement | Gets the model element that was used to create this property descriptor. (Inherited from ElementPropertyDescriptor.) | |
Name | Gets the name of the member. (Inherited from MemberDescriptor.) | |
PropertyType | Gets the property type of the described property. (Inherited from ElementPropertyDescriptor.) | |
SerializationVisibility | Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.) | |
SupportsChangeEvents | Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor. (Inherited from PropertyDescriptor.) |
Top
Methods
Name | Description | |
---|---|---|
AddValueChanged | (Inherited from ElementPropertyDescriptor.) | |
CanResetValue | Indicates whether the value of the domain property can be reset. (Inherited from ElementPropertyDescriptor.) | |
Equals | Compares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.) | |
GetChildProperties | Returns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.) | |
GetChildProperties(Attribute) | Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.) | |
GetChildProperties(Object) | Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.) | |
GetChildProperties(Object, Attribute) | Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.) | |
GetEditor | Returns a value editor for the described property. (Inherited from ElementPropertyDescriptor.) | |
GetHashCode | Returns the hash code for this object. (Inherited from PropertyDescriptor.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Gets the value of the domain property. (Inherited from ElementPropertyDescriptor.) | |
GetValueChangedHandler | Retrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.) | |
RemoveValueChanged | (Inherited from ElementPropertyDescriptor.) | |
ResetValue | Resets the value of the domain property. (Inherited from ElementPropertyDescriptor.) | |
SetValue | Sets the value of the property. (Overrides ElementPropertyDescriptor.SetValue(Object, Object).) | |
ShouldSerializeValue | Indicates whether the value of the domain property should be serialized. (Inherited from ElementPropertyDescriptor.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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
Microsoft.VisualStudio.Modeling.DslDefinition.Design Namespace