All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DiagramShapeConnectionPoint Class

A shape's connection point.

Namespace: DevExpress.Web.ASPxDiagram

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

Declaration

public class DiagramShapeConnectionPoint :
    CollectionItem
Public Class DiagramShapeConnectionPoint
    Inherits CollectionItem

The following members accept/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