This topic has not yet been rated - Rate this topic

PresentationElement.Subject Property

Gets or sets the subject for the presentation element. Defaults to the same object as ModelElement.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual ModelElement Subject { get; set; }

By default, Subject has the same effect as ModelElement. Both properties get and set the PresentationViewsSubject relationship from the presentation element to a domain model element. But you can override this property to manage a different relationship.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ