Share via


NodeShape.ConnectionPoints Property

A list of points on the perimeter of a shape at which connectors can terminate. By default, a shape has no connection points, and connectors can terminate anywhere on its perimeter.

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

Syntax

'Declaration
Public ReadOnly Property ConnectionPoints As IList(Of ConnectionPoint)
'Usage
Dim instance As NodeShape 
Dim value As IList(Of ConnectionPoint)

value = instance.ConnectionPoints
public IList<ConnectionPoint> ConnectionPoints { get; }
public:
property IList<ConnectionPoint^>^ ConnectionPoints {
    IList<ConnectionPoint^>^ get ();
}
public function get ConnectionPoints () : IList<ConnectionPoint>

Property Value

Type: System.Collections.Generic.IList<ConnectionPoint>
The list of connection points on the shape.

Remarks

To set connection points, override EnsureConnectionPoints(LinkShape) and HasConnectionPoints.

.NET Framework Security

See Also

Reference

NodeShape Class

NodeShape Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace

HasConnectionPoints

EnsureConnectionPoints(LinkShape)