windowsforms-devexpress-dot-xtradiagram-dot-diagramconnector-a02c9cc1.md
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
[DefaultValue(-1)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual int EndItemPointIndex { get; set; }
<DefaultValue(-1)>
<DiagramCategory(DiagramCategory.Layout)>
Public Overridable Property EndItemPointIndex As Integer
| Type | Default | Description |
|---|---|---|
| Int32 | -1 |
A zero-based index of the connection point on the end diagram item.
|
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