Back to Devexpress

DiagramConnector.EndItem Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramconnector-5e3f7db8.md

latest1.7 KB
Original Source

DiagramConnector.EndItem Property

Gets or sets the end item for the connector. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

Assembly : DevExpress.Xpf.Diagram.v25.2.dll

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public IDiagramItem EndItem { get; set; }
vb
Public Property EndItem As IDiagramItem

Property Value

TypeDescription
DevExpress.Diagram.Core.IDiagramItem

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

EndItemPointIndex

DiagramConnector Class

DiagramConnector Members

DevExpress.Xpf.Diagram Namespace