Compartilhar via


DiagramView.Diagram Property

Definition

Gets or sets the Diagram object associated with this DiagramView.

public:
 property Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ Diagram { Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ get(); void set(Microsoft::VisualStudio::Modeling::Diagrams::Diagram ^ value); };
public Microsoft.VisualStudio.Modeling.Diagrams.Diagram Diagram { get; set; }
member this.Diagram : Microsoft.VisualStudio.Modeling.Diagrams.Diagram with get, set
Public Property Diagram As Diagram

Property Value

Remarks

Set this property to null to disassociate the DiagramView from any Diagram.

Applies to