Delen via


DslDefinitionModelElementTrackingPropertyDescriptor Class

Provide custom tracking property descriptor for domain classes defined in the DslDefintion namespace

Inheritance Hierarchy

System.Object
  System.ComponentModel.MemberDescriptor
    System.ComponentModel.PropertyDescriptor
      Microsoft.VisualStudio.Modeling.Design.ElementPropertyDescriptor
        Microsoft.VisualStudio.Modeling.Design.TrackingPropertyDescriptor
          Microsoft.VisualStudio.Modeling.DslDefinition.Design.DslDefinitionModelElementTrackingPropertyDescriptor

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
Public NotInheritable Class DslDefinitionModelElementTrackingPropertyDescriptor _
    Inherits TrackingPropertyDescriptor
public sealed class DslDefinitionModelElementTrackingPropertyDescriptor : TrackingPropertyDescriptor
public ref class DslDefinitionModelElementTrackingPropertyDescriptor sealed : public TrackingPropertyDescriptor
[<Sealed>]
type DslDefinitionModelElementTrackingPropertyDescriptor =  
    class 
        inherit TrackingPropertyDescriptor 
    end
public final class DslDefinitionModelElementTrackingPropertyDescriptor extends TrackingPropertyDescriptor

The DslDefinitionModelElementTrackingPropertyDescriptor type exposes the following members.

Constructors

  Name Description
Public method DslDefinitionModelElementTrackingPropertyDescriptor The ElementPropertyDescriptor can operate upon a specific element passed in to the constructor, or it can accept a null element. If a specific element is provided, GetValue(), SetValue(), and the other methods will ignore the object argument passed in and will instead use that specific element. If a null element is provided, GetValue(), SetValue(), and the other methods will use the object argument passed in.

Top

Properties

  Name Description
Public property Attributes Gets the collection of attributes for this member. (Inherited from MemberDescriptor.)
Public property 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.)
Public property ComponentType Gets the type of the model element to which this property is bound. (Inherited from ElementPropertyDescriptor.)
Public property Converter Gets the converter for the described property. (Inherited from ElementPropertyDescriptor.)
Public property Description Gets the description of the described property, as specified in the DescriptionResourceAttribute. (Inherited from ElementPropertyDescriptor.)
Public property DesignTimeOnly Gets whether this member should be set only at design time, as specified in the DesignOnlyAttribute. (Inherited from MemberDescriptor.)
Public property DisplayName Gets the display name of the described property, as specified in the DisplayNameResourceAttribute. (Inherited from ElementPropertyDescriptor.)
Public property DomainPropertyInfo Gets the property information object that was used to create this property descriptor. (Inherited from ElementPropertyDescriptor.)
Public property IsBrowsable Gets a value indicating whether the member is browsable, as specified in the BrowsableAttribute. (Inherited from MemberDescriptor.)
Public property IsInstanceBased Test if this PropertyDescriptor is based on an instance or a static type. (Inherited from ElementPropertyDescriptor.)
Public property IsLocalizable Gets a value indicating whether this property should be localized, as specified in the LocalizableAttribute. (Inherited from PropertyDescriptor.)
Public property IsReadOnly Returns whether this property is readonly or not. (Overrides ElementPropertyDescriptor.IsReadOnly.)
Public property ModelElement Gets the model element that was used to create this property descriptor. (Inherited from ElementPropertyDescriptor.)
Public property Name Gets the name of the member. (Inherited from MemberDescriptor.)
Public property PropertyType Gets the property type of the described property. (Inherited from ElementPropertyDescriptor.)
Public property SerializationVisibility Gets a value indicating whether this property should be serialized, as specified in the DesignerSerializationVisibilityAttribute. (Inherited from PropertyDescriptor.)
Public property 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
Public method AddValueChanged (Inherited from ElementPropertyDescriptor.)
Public method CanResetValue Indicates whether the value of the domain property can be reset. (Inherited from TrackingPropertyDescriptor.)
Public method Equals Compares this to another object to see if they are equivalent. (Inherited from PropertyDescriptor.)
Public method GetChildProperties() Returns the default PropertyDescriptorCollection. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(array<Attribute[]) Returns a PropertyDescriptorCollection using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object) Returns a PropertyDescriptorCollection for a given object. (Inherited from PropertyDescriptor.)
Public method GetChildProperties(Object, array<Attribute[]) Returns a PropertyDescriptorCollection for a given object using a specified array of attributes as a filter. (Inherited from PropertyDescriptor.)
Public method GetEditor Returns a value editor for the described property. (Inherited from ElementPropertyDescriptor.)
Public method GetHashCode Returns the hash code for this object. (Inherited from PropertyDescriptor.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue Gets the value of the domain property. (Inherited from ElementPropertyDescriptor.)
Protected method GetValueChangedHandler Retrieves the current set of ValueChanged event handlers for a specific component (Inherited from PropertyDescriptor.)
Public method RemoveValueChanged (Inherited from ElementPropertyDescriptor.)
Public method ResetValue Resets the value of the tracking property. (Inherited from TrackingPropertyDescriptor.)
Public method SetValue Sets the value of the property. (Overrides ElementPropertyDescriptor.SetValue(Object, Object).)
Public method ShouldSerializeValue Indicates whether the value of the tracking property should be serialized. (Inherited from TrackingPropertyDescriptor.)
Public method 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