Back to Devexpress

DiagramConnector.EndItemPointIndex Property

windowsforms-devexpress-dot-xtradiagram-dot-diagramconnector-a02c9cc1.md

latest2.0 KB
Original Source

DiagramConnector.EndItemPointIndex Property

Gets or sets the connection point on the end diagram item to which the connector is glued.

Namespace : DevExpress.XtraDiagram

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(-1)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual int EndItemPointIndex { get; set; }
vb
<DefaultValue(-1)>
<DiagramCategory(DiagramCategory.Layout)>
Public Overridable Property EndItemPointIndex As Integer

Property Value

TypeDefaultDescription
Int32-1

A zero-based index of the connection point on the end diagram item.

|

Remarks

The EndItemPointIndex property refers to the connection point on the item specified by the DiagramConnector.EndItem property.

If the EndItemPointIndex property is set to -1 , the connection is dynamic: the connector moves to the connection point on the shape that is nearest to the connector’s point of origin. A Straight Line connector with the dynamic connection type is glued to the center of a shape rather than to any of its connection points.

See Also

EndItem

DiagramConnector Class

DiagramConnector Members

DevExpress.XtraDiagram Namespace