DiagramItem.ConnectionPoints Property

Specifies the list of points on the perimeter of a shape at which connectors can terminate. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.1.dll

Declaration

[Browsable(false)]
public DiagramPointCollection ConnectionPoints { get; set; }
<Browsable(False)>
Public Property ConnectionPoints As DiagramPointCollection

Property Value

Type Description
DevExpress.Diagram.Core.DiagramPointCollection

A list of points on the perimeter of a shape at which connectors can terminate.

Remarks

The points are set in relative coordinates. (0,0) corresponds to the top-left corner of the shape border, (1,1) corresponds to the bottom-right corner. See the code snippet below.

shape.ConnectionPoints = new DiagramPointCollection(new Point[] {
    new Point(0,0),
    new Point(0,1),
    new Point(1,0),
    new Point(1,1),
});

Implements

DevExpress.Diagram.Core.IDiagramItem.ConnectionPoints
See Also