Share via


DiagramView.Diagram Property

Gets or sets the Diagram object associated with this DiagramView.

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 Property Diagram As Diagram
public Diagram Diagram { get; set; }
public:
property Diagram^ Diagram {
    Diagram^ get ();
    void set (Diagram^ value);
}
member Diagram : Diagram with get, set
function get Diagram () : Diagram 
function set Diagram (value : Diagram)

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram

Remarks

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

.NET Framework Security

See Also

Reference

DiagramView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace