Delen 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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property ConnectionPoints As IList(Of ConnectionPoint)
public IList<ConnectionPoint> ConnectionPoints { get; }
public:
property IList<ConnectionPoint^>^ ConnectionPoints {
    IList<ConnectionPoint^>^ get ();
}
member ConnectionPoints : IList<ConnectionPoint> with get
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 and HasConnectionPoints.

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

HasConnectionPoints

EnsureConnectionPoints