Skip to main content

IEditorElement.ElementOwnerRelationship property

Namespace: NextDesign.Core

Description

Gets the relationship between the model to which this element corresponds and the model to which this element's parent element corresponds.
For example, for a model structure like
Model A
 ┗ (Related A-B)
  ┗Model B
In the diagram editor structure, it is mapped as follows:
IDiagram{ Model=Model A}
┗ NodeShape{ Model=Model B, ElementOwnerRelationship=Relationship A-B}

Note that if the relationship with the parent element's model cannot be determined, null is returned.

IRelationship ElementOwnerRelationship { get; }

Type