Back to Devexpress

DiagramShapeConnectionPoint Class

aspnet-devexpress-dot-web-dot-aspxdiagram-bf2def5e.md

latest2.9 KB
Original Source

DiagramShapeConnectionPoint Class

A shape’s connection point.

Namespace : DevExpress.Web.ASPxDiagram

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

NuGet Package : DevExpress.Web

Declaration

csharp
public class DiagramShapeConnectionPoint :
    CollectionItem
vb
Public Class DiagramShapeConnectionPoint
    Inherits 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

aspx
<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>
          ...

]

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem DiagramShapeConnectionPoint

See Also

DiagramShapeConnectionPoint Members

DevExpress.Web.ASPxDiagram Namespace