Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DiagramConnector.EndItem Property

Gets or sets the end item for the connector.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.2.dll

NuGet Package: DevExpress.Win.Diagram

#Declaration

[DefaultValue(null)]
[DiagramCategory(DiagramCategory.Layout)]
public virtual IDiagramItem EndItem { get; set; }

#Property Value

Type Default Description
DevExpress.Diagram.Core.IDiagramItem null

The connector’s end item.

#Remarks

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