A newer version of this page is available. Switch to the current version.

DiagramConnector.EndItem Property

Gets or sets the end item for the connector.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v19.1.dll


public virtual IDiagramItem EndItem { get; set; }

Property Value

Type Default Description


The connector’s end item.


You can “glue” a connector to one of predefined points (connection points) on a shape with the DiagramConnector.EndItemPointIndex property. If this property is set to -1, the connection point will be determined automatically based on the connector’s direction.

Instead of linking a connector to a certain diagram item or its point, you can start the connector at any point on the diagram canvas. To accomplish this, set the EndItem property to null and specify the ending point with the DiagramConnector.EndPoint property.

See Also