Skip to main content

DiagramCustomShape.ConnectionPoints Property

Provides access to a collection of the shape’s connection points.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v22.2.dll

NuGet Package: DevExpress.Web


public DiagramShapeConnectionPointCollection ConnectionPoints { get; }

Property Value

Type Description

A collection of connection points.


The ConnectionPoints property allows you to provide a collection of points where a shape connector can start or end.

If the collection is empty, the shape displays a connection point in the middle of each shape edge.

Run Demo: Custom Shapes


  <dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
          <dx:DiagramCustomShape CategoryName="hardware" Type="internet" Title="Internet" ...>
                  <dx:DiagramShapeConnectionPoint Left="0.5" Top="0" />
                  <dx:DiagramShapeConnectionPoint Left="0.9" Top="0.3" />
                  <dx:DiagramShapeConnectionPoint Left="0.9" Top="0.7" />
                  <dx:DiagramShapeConnectionPoint Left="0.5" Top="1" />
                  <dx:DiagramShapeConnectionPoint Left="0.1" Top="0.5" />

Shape connection points]

See Also