Share via


AssociatedPropertyInfo Class

Class that provides info about a domain property associated with a ShapeField.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.Diagrams.AssociatedPropertyInfo

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Class AssociatedPropertyInfo
public class AssociatedPropertyInfo
public ref class AssociatedPropertyInfo
type AssociatedPropertyInfo =  class end
public class AssociatedPropertyInfo

The AssociatedPropertyInfo type exposes the following members.

Constructors

  Name Description
Public method AssociatedPropertyInfo(Guid) Create a AssociatedPropertyInfo that points at a property on the ModelElement associated with the PresentationElement that the ShapeField is hosted on.
Public method AssociatedPropertyInfo(Guid, PresentationDomainNavigator, DomainPresentationNavigator) Create an AssociatedPropertyInfo that points at a property on a ModelElement somewhere in the model. The given delegates are used to navigate to/from the shape to this element.

Top

Properties

  Name Description
Public property DomainPresentationNavigator Delegate used to navigate from the element in the domain model containing the property to the presentation element displaying the shape field.
Public property FilteringValues A list of filtering values associated with this property. Used for ShapeField visibility property associations.
Public property IsShapeProperty True if the property exists directly on the shape itself, false otherwise.
Public property PresentationDomainNavigator Delegate used to navigate from the presentation element displaying the shape field to the element in the domain model containing the property.
Public property PropertyId Domain property identifier.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

Class that provides information about a domain property that is associated with a ShapeField.

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.Diagrams Namespace