Skip to main content

DiagramShapeConnectionPoint Class

A shape’s connection point.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public class DiagramShapeConnectionPoint :
    CollectionItem

The following members return DiagramShapeConnectionPoint objects:

Remarks

An object of the DiagramShapeConnectionPoint class determines a connection point in the ConnectionPoints collection.

Use the Left and Top properties to specify the point position in relation to the shape.

Run Demo: Custom Shapes

Example

  <dx:ASPxDiagram ID="Diagram" runat="server" Width="100%" Height="600px">
      <CustomShapes>
          <dx:DiagramCustomShape CategoryName="hardware" Type="internet" Title="Internet" ...>
              <ConnectionPoints>
                  <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" />
              </ConnectionPoints>
          </dx:DiagramCustomShape>
          ...

Shape connection points]

Inheritance

Object
StateManager
CollectionItem
DiagramShapeConnectionPoint
See Also