Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(-1)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual int EndItemPointIndex { get; set; }

Property Value

Type Default Description
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